diff options
author | Alexander Aring <alex.aring@googlemail.com> | 2013-01-02 01:01:10 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:18:52 -0800 |
commit | ae51878d61c4b39eae37d1bf29032e185b8e6501 (patch) | |
tree | aa13409fedb21d88ed37557a557917bdf2922d4f /net | |
parent | 29a21388c86ffa0d18018a7ddf49aa129588a339 (diff) |
mac802154: fix NOHZ local_softirq_pending 08 warning
[ Upstream commit 5ff3fec6d3fc848753c2fa30b18607358f89a202 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
-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 f30f6d4beea..c5e24c8ef1e 100644 --- a/net/mac802154/wpan.c +++ b/net/mac802154/wpan.c @@ -387,7 +387,7 @@ void mac802154_wpan_setup(struct net_device *dev) static int mac802154_process_data(struct net_device *dev, struct sk_buff *skb) { - return netif_rx(skb); + return netif_rx_ni(skb); } static int |