* [PATCH] ks8851: Fix NOHZ local_softirq_pending 08 warning
@ 2012-02-13 17:37 Benoit Cousson
2012-02-13 21:02 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Benoit Cousson @ 2012-02-13 17:37 UTC (permalink / raw)
To: netdev; +Cc: linux-omap, Benoit Cousson, David S. Miller
This fix a similar problem as in 72092cc45378176ba700034c91b7af2db524df26
and 481a8199142c050b72bff8a1956a49fd0a75bbe0 ("can:
fix NOHZ local_softirq_pending 08 warning"). This fix replaces netif_rx()
with netif_rx_ni() which has to be used from process/softirq context.
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: David S. Miller <davem@davemloft.net>
---
drivers/net/ethernet/micrel/ks8851.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/micrel/ks8851.c b/drivers/net/ethernet/micrel/ks8851.c
index 6b35e7d..0c3e400 100644
--- a/drivers/net/ethernet/micrel/ks8851.c
+++ b/drivers/net/ethernet/micrel/ks8851.c
@@ -583,7 +583,7 @@ static void ks8851_rx_pkts(struct ks8851_net *ks)
ks8851_dbg_dumpkkt(ks, rxpkt);
skb->protocol = eth_type_trans(skb, ks->netdev);
- netif_rx(skb);
+ netif_rx_ni(skb);
ks->netdev->stats.rx_packets++;
ks->netdev->stats.rx_bytes += rxlen;
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ks8851: Fix NOHZ local_softirq_pending 08 warning
2012-02-13 17:37 [PATCH] ks8851: Fix NOHZ local_softirq_pending 08 warning Benoit Cousson
@ 2012-02-13 21:02 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2012-02-13 21:02 UTC (permalink / raw)
To: b-cousson; +Cc: netdev, linux-omap
From: Benoit Cousson <b-cousson@ti.com>
Date: Mon, 13 Feb 2012 18:37:12 +0100
> This fix a similar problem as in 72092cc45378176ba700034c91b7af2db524df26
> and 481a8199142c050b72bff8a1956a49fd0a75bbe0 ("can:
> fix NOHZ local_softirq_pending 08 warning"). This fix replaces netif_rx()
> with netif_rx_ni() which has to be used from process/softirq context.
>
> Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-02-13 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13 17:37 [PATCH] ks8851: Fix NOHZ local_softirq_pending 08 warning Benoit Cousson
2012-02-13 21:02 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).