diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2022-03-03 18:14:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-04 12:02:19 +0000 |
commit | aa4e5761bff54036a13fba539165033772799beb (patch) | |
tree | 77a27a7339174ac3ac3f716110903c959ee864dc /arch/xtensa/platforms/iss | |
parent | 21f95a88eab49eebc70f25f17567aacb9cdafc01 (diff) | |
download | linux-stable-aa4e5761bff54036a13fba539165033772799beb.tar.gz linux-stable-aa4e5761bff54036a13fba539165033772799beb.tar.bz2 linux-stable-aa4e5761bff54036a13fba539165033772799beb.zip |
net: xtensa: Use netif_rx().
Since commit
baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.")
the function netif_rx() can be used in preemptible/thread context as
well as in interrupt context.
Use netif_rx().
Cc: Chris Zankel <chris@zankel.net>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: linux-xtensa@linux-xtensa.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/xtensa/platforms/iss')
-rw-r--r-- | arch/xtensa/platforms/iss/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/platforms/iss/network.c b/arch/xtensa/platforms/iss/network.c index 962e5e145209..9fb99d18e3c2 100644 --- a/arch/xtensa/platforms/iss/network.c +++ b/arch/xtensa/platforms/iss/network.c @@ -304,7 +304,7 @@ static int iss_net_rx(struct net_device *dev) lp->stats.rx_bytes += skb->len; lp->stats.rx_packets++; - netif_rx_ni(skb); + netif_rx(skb); return pkt_len; } kfree_skb(skb); |