plip: use netif_rx_ni() for packet receive
commitf6ce5cca74b8681fdf1d7307edc66a7213b43f6f
authorMikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Thu, 22 Nov 2007 20:19:39 +0000 (22 21:19 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 27 Nov 2007 03:37:31 +0000 (26 19:37 -0800)
tree0ac74f5244ab0ea0ad07823dc1af848c4571accc
parent64d0793109a98abcc2f4bf0c7d8b000fd220cdcd
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: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/plip.c