]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jan 2013 21:47:21 +0000 (13:47 -0800)
commitdde5c14327da89198859dd9de8f200e0b6063557
tree67bb4569c70fb561f021c4c2c08126dcf4e457b1
parent0ab29463a80d0a92775c33b23771eb603aead916
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 71e328b for similar fix.

Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mac802154/wpan.c