mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
net: xtensa: Use netif_rx().
Since commit
baebdf48c3 ("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>
This commit is contained in:
parent
21f95a88ea
commit
aa4e5761bf
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user