]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
batman-adv: bla: use netif_rx_ni when not in interrupt context
authorJussi Kivilinna <jussi.kivilinna@haltian.com>
Tue, 18 Aug 2020 14:46:10 +0000 (17:46 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Sep 2020 09:45:27 +0000 (11:45 +0200)
commitc1ff0effbf691a97bdcc45044f5ac33ee9d784a3
tree57a9bcdecb9eb5c2b76e0b14e9883cb5d18626da
parenta8eecb67067fe50ef9640159f31ade9b478585a8
batman-adv: bla: use netif_rx_ni when not in interrupt context

[ Upstream commit 279e89b2281af3b1a9f04906e157992c19c9f163 ]

batadv_bla_send_claim() gets called from worker thread context through
batadv_bla_periodic_work(), thus netif_rx_ni needs to be used in that
case. This fixes "NOHZ: local_softirq_pending 08" log messages seen
when batman-adv is enabled.

Fixes: 23721387c409 ("batman-adv: add basic bridge loop avoidance code")
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@haltian.com>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/batman-adv/bridge_loop_avoidance.c