Commit:     f6ce5cca74b8681fdf1d7307edc66a7213b43f6f
Parent:     64d0793109a98abcc2f4bf0c7d8b000fd220cdcd
Author:     Mikulas Patocka <[EMAIL PROTECTED]>
AuthorDate: Thu Nov 22 21:19:39 2007 +0100
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Nov 26 19:37:31 2007 -0800

    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 <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/net/plip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/plip.c b/drivers/net/plip.c
index 5071fcd..baf2cbf 100644
--- a/drivers/net/plip.c
+++ b/drivers/net/plip.c
@@ -663,7 +663,7 @@ plip_receive_packet(struct net_device *dev, struct 
net_local *nl,
        case PLIP_PK_DONE:
                /* Inform the upper layer for the arrival of a packet. */
                rcv->skb->protocol=plip_type_trans(rcv->skb, dev);
-               netif_rx(rcv->skb);
+               netif_rx_ni(rcv->skb);
                dev->last_rx = jiffies;
                dev->stats.rx_bytes += rcv->length.h;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to