]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9de3c0e3ad6fe677da293f5bc306337cfff9f1fe
tree7f9d5446bf010d0dd518639b91f895636663c925
parentd853f0ea1bcde091f583ed9560392272dc1f4c31
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