diff options
author | Alexander Aring <alex.aring@googlemail.com> | 2013-01-01 20:01:10 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-04 16:47:21 -0500 |
commit | 5ff3fec6d3fc848753c2fa30b18607358f89a202 (patch) | |
tree | 67bb4569c70fb561f021c4c2c08126dcf4e457b1 /net/mac802154 | |
parent | db2b620aa03d1301398dcba8b1097686bd82e65b (diff) |
mac802154: fix NOHZ local_softirq_pending 08 warning
When using nanosleep() in an userspace application we get a
ratelimit warning
NOHZ: local_softirq_pending 08
for 10 times.
This patch replaces netif_rx() with netif_rx_ni() which has
to be used from process/softirq context.
The process/softirq context will be called from fakelb driver.
See linux-kernel commit 481a819 for similar fix.
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154')
-rw-r--r-- | net/mac802154/wpan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/wpan.c b/net/mac802154/wpan.c index 1191039c2b1b..199b92261e94 100644 --- a/net/mac802154/wpan.c +++ b/net/mac802154/wpan.c | |||
@@ -389,7 +389,7 @@ void mac802154_wpan_setup(struct net_device *dev) | |||
389 | 389 | ||
390 | static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb) | 390 | static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb) |
391 | { | 391 | { |
392 | return netif_rx(skb); | 392 | return netif_rx_ni(skb); |
393 | } | 393 | } |
394 | 394 | ||
395 | static int | 395 | static int |