netfilter: nf_tables: bogus EBUSY when deleting flowtable after flush
authorLaura Garcia Liebana <nevola@gmail.com>
Tue, 24 Sep 2019 12:42:44 +0000 (14:42 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 25 Sep 2019 09:01:19 +0000 (11:01 +0200)
commit9b05b6e11d5e93a3a517cadc12b9836e0470c255
tree7f9d5446bf010d0dd518639b91f895636663c925
parent20ff1cb506727f81acba59acab8a0f37e1a13e43
netfilter: nf_tables: bogus EBUSY when deleting flowtable after flush

The deletion of a flowtable after a flush in the same transaction
results in EBUSY. This patch adds an activation and deactivation of
flowtables in order to update the _use_ counter.

Signed-off-by: Laura Garcia Liebana <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_flow_offload.c