Commit f6ce5cca authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Linus Torvalds

plip: use netif_rx_ni() for packet receive

netif_rx is meant to be called from interrupts because it doesn't wake
up ksoftirqd.  For calling from outside interrupts, netif_rx_ni exists.

This fixes plip to use netif_rx_ni.  It fixes the infamous error "NOHZ:
local_softirq_panding 08" that happens on some machines with NOHZ and
plip --- it is caused by the fact that softirq is pending and ksoftirqd
is sleeping.
Signed-off-by: default avatarMikulas Patocka <>
Signed-off-by: default avatarLinus Torvalds <>
parent 64d07931
......@@ -663,7 +663,7 @@ plip_receive_packet(struct net_device *dev, struct net_local *nl,
/* Inform the upper layer for the arrival of a packet. */
rcv->skb->protocol=plip_type_trans(rcv->skb, dev);
dev->last_rx = jiffies;
dev->stats.rx_bytes += rcv->length.h;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment