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

From: Florian Westphal <[email-masked]>
Date: Thu, 26 Mar 2020 00:13:50 +0100

Qian Cai <[email-masked]> 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,

[..]

> -	list_for_each_entry_rcu(table, &net->nft.tables, list) {
> +	list_for_each_entry_rcu(table, &net->nft.tables, list,
> +				lockdep_is_held(&net->nft.commit_mutex)) {

Thanks for the patch.

Acked-by: Florian Westphal <[email-masked]>