diff options
author | Sven Eckelmann <sven@narfation.org> | 2021-05-18 22:00:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-23 15:42:41 +0300 |
commit | 282baa8104af44e04c4af3e7f933b44267c7f86f (patch) | |
tree | 1f2156ca9d15f7b533b60451c65d38c91172f312 /net/mac80211 | |
parent | ae1d3b989d19e4d8d4fee612a4d24ef992fcd25f (diff) | |
download | linux-282baa8104af44e04c4af3e7f933b44267c7f86f.tar.xz |
batman-adv: Avoid WARN_ON timing related checks
[ Upstream commit 9f460ae31c4435fd022c443a6029352217a16ac1 ]
The soft/batadv interface for a queued OGM can be changed during the time
the OGM was queued for transmission and when the OGM is actually
transmitted by the worker.
But WARN_ON must be used to denote kernel bugs and not to print simple
warnings. A warning can simply be printed using pr_warn.
Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Reported-by: syzbot+c0b807de416427ff3dd1@syzkaller.appspotmail.com
Fixes: ef0a937f7a14 ("batman-adv: consider outgoing interface in OGM sending")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions