[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200316.171932.1747324396278110181.davem@davemloft.net>
Date: Mon, 16 Mar 2020 17:19:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: madhuparnabhowmik10@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
frextrite@...il.com, paulmck@...nel.org, joel@...lfernandes.org
Subject: Re: [PATCH] net: kcm: kcmproc.c: Fix RCU list suspicious usage
warning
From: madhuparnabhowmik10@...il.com
Date: Mon, 16 Mar 2020 22:43:52 +0530
> From: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
>
> This path fixes the suspicious RCU usage warning reported by
> kernel test robot.
>
> net/kcm/kcmproc.c:#RCU-list_traversed_in_non-reader_section
>
> There is no need to use list_for_each_entry_rcu() in
> kcm_stats_seq_show() as the list is always traversed under
> knet->mutex held.
>
> Reported-by: kernel test robot <lkp@...el.com>
> Signed-off-by: Madhuparna Bhowmik <madhuparnabhowmik10@...il.com>
Applied to net-next, thanks.
Powered by blists - more mailing lists