Messages in this thread | | | Date | Thu, 26 Mar 2020 00:13:50 +0100 | From | Florian Westphal <> | Subject | Re: [PATCH] netfilter/nf_tables: silence a RCU-list warning |
| |
Qian Cai <cai@lca.pw> 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 <fw@strlen.de>
| |