bluetooth: 6lowpan: fix NOHZ: local_softirq_pending
authorAlexander Aring <alex.aring@gmail.com>
Tue, 27 Oct 2015 07:35:24 +0000 (08:35 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 27 Oct 2015 08:53:36 +0000 (09:53 +0100)
commit324e786ee39c70ffbdc280c34b7d2b6da5c87879
treed6e4b63f01c5290aea27d1014bcbc0215e0fa563
parent2c501cdd6823a644cf35ac594c635310bf077125
bluetooth: 6lowpan: fix NOHZ: local_softirq_pending

Jukka reported about the following warning:

"NOHZ: local_softirq_pending 08"

I remember this warning and we had a similar issue when using workqueues
and calling netif_rx. See commit 5ff3fec ("mac802154: fix NOHZ
local_softirq_pending 08 warning").

This warning occurs when calling "netif_rx" inside the wrong context
(non softirq context). The net core api offers "netif_rx_ni" to call
netif_rx inside the correct softirq context.

Reported-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/6lowpan.c