Re: [PATCH net] drivers: net: hamradio: Fix suspicious RCU usage warning in bpqether.c

From: David Miller
Date: Thu May 14 2020 - 20:44:08 EST


From: madhuparnabhowmik10@xxxxxxxxx
Date: Thu, 14 May 2020 19:41:15 +0530

> From: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>
>
> This patch fixes the following warning:
> =============================
> WARNING: suspicious RCU usage
> 5.7.0-rc5-next-20200514-syzkaller #0 Not tainted
> -----------------------------
> drivers/net/hamradio/bpqether.c:149 RCU-list traversed in non-reader section!!
>
> Since rtnl lock is held, pass this cond in list_for_each_entry_rcu().
>
> Reported-by: syzbot+bb82cafc737c002d11ca@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>

Applied, thanks.