projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d885c
)
ks8851: Fix NOHZ local_softirq_pending 08 warning
author
Cousson, Benoit
<
[email protected]
>
Mon, 13 Feb 2012 07:37:12 +0000
(07:37 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 13 Feb 2012 21:04:09 +0000
(16:04 -0500)
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 <
[email protected]
>
Cc: David S. Miller <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/micrel/ks8851.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/micrel/ks8851.c
b/drivers/net/ethernet/micrel/ks8851.c
index 6b35e7da9a9c7a094f27ff725787865b7bd034e6..0c3e4005224d446d181c2656c3a04a95fceded28 100644
(file)
--- 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;