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)
commit53315ac660b09f8128cd086e3ea0ed5ed5081d55
tree98aae1057d81116f167620deb16ee38877256829
parent5e2ad02e9001fd99cae3c14e52f67bb976e9bee3
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