[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200513215250.43486e02@canb.auug.org.au>
Date: Wed, 13 May 2020 21:52:50 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: madhuparnabhowmik10@...il.com
Cc: davem@...emloft.net, kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, frextrite@...il.com,
joel@...lfernandes.org, paulmck@...nel.org, cai@....pw
Subject: Re: [PATCH] Fix suspicious RCU usage warning
Hi all,
On Wed, 13 May 2020 11:46:10 +0530 madhuparnabhowmik10@...il.com wrote:
>
> From: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
>
> This patch fixes the following warning:
>
> =============================
> WARNING: suspicious RCU usage
> 5.7.0-rc4-next-20200507-syzkaller #0 Not tainted
> -----------------------------
> net/ipv6/ip6mr.c:124 RCU-list traversed in non-reader section!!
>
> ipmr_new_table() returns an existing table, but there is no table at
> init. Therefore the condition: either holding rtnl or the list is empty
> is used.
>
> Suggested-by: Jakub Kicinski <kuba@...nel.org>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
Thanks. Added to my fixes tree from tomorrow (until it turns up
elsewhere).
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists