enc28j60: use netif_rx_ni() to deliver RX packets

The enc28j60 driver reads incoming packets in the process (workqueue) context,
not in a tasklet or the interrupt context. Thus, we should use netif_rx_ni()
to deliver those packets to the networking layer, instead of netif_rx(). This
way incoming packets don't wait in the incoming queue for the next IRQ to be
serviced.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Baruch Siach and committed by
David S. Miller
2c413a64 8953f128

+1 -1
+1 -1
drivers/net/enc28j60.c
··· 959 959 ndev->stats.rx_packets++; 960 960 ndev->stats.rx_bytes += len; 961 961 ndev->last_rx = jiffies; 962 - netif_rx(skb); 962 + netif_rx_ni(skb); 963 963 } 964 964 } 965 965 /*