- plip-use-netif_rx_ni.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     plip: use netif_rx_ni()
has been removed from the -mm tree.  Its filename was
     plip-use-netif_rx_ni.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: plip: use netif_rx_ni()
From: Mikulas Patocka <mikulas@xxxxxxxxxxxxxxxxxxxxxxxx>

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 patch 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@xxxxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/net/plip.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/plip.c~plip-use-netif_rx_ni drivers/net/plip.c
--- a/drivers/net/plip.c~plip-use-netif_rx_ni
+++ a/drivers/net/plip.c
@@ -663,7 +663,7 @@ plip_receive_packet(struct net_device *d
 	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;
 		dev->stats.rx_packets++;
_

Patches currently in -mm which might be from mikulas@xxxxxxxxxxxxxxxxxxxxxxxx are

origin.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux