]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mac802154: fix NOHZ local_softirq_pending 08 warning
authorAlexander Aring <alex.aring@googlemail.com>
Wed, 2 Jan 2013 01:01:10 +0000 (01:01 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:18:52 +0000 (09:18 -0800)
commitae51878d61c4b39eae37d1bf29032e185b8e6501
treeaa13409fedb21d88ed37557a557917bdf2922d4f
parent29a21388c86ffa0d18018a7ddf49aa129588a339
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>
net/mac802154/wpan.c