Re: [PATCH] netfilter/nf_tables: silence a RCU-list warning

From: Pablo Neira Ayuso
Date: Thu Mar 26 2020 - 09:46:34 EST


On Wed, Mar 25, 2020 at 10:31:42AM -0400, Qian Cai wrote:
> It is safe to traverse &net->nft.tables with &net->nft.commit_mutex
> held using list_for_each_entry_rcu(). Silence the PROVE_RCU_LIST false
> positive,
>
> WARNING: suspicious RCU usage
> net/netfilter/nf_tables_api.c:523 RCU-list traversed in non-reader section!!

Applied, thanks.