]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: free base chain counters from worker
authorFlorian Westphal <fw@strlen.de>
Wed, 22 May 2019 21:35:11 +0000 (23:35 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 31 May 2019 16:02:43 +0000 (18:02 +0200)
commit6c5ba3aed12d37fe93b839ac045a353f31b94dc7
tree98aae1057d81116f167620deb16ee38877256829
parent7aef63725580fbfe89d5cb253ff16521d498ac17
netfilter: nf_tables: free base chain counters from worker

No need to use synchronize_rcu() here, just swap the two pointers
and have the release occur from work queue after commit has completed.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c