]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: bogus EBUSY in chain deletions
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2018 00:43:57 +0000 (02:43 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 May 2018 08:09:30 +0000 (10:09 +0200)
commit943f81526b5701c2b170a7d147e2e879c118250b
treeab9b11fc54ad976c497d4d0d4f2a91b8209bbf58
parent445f94944dbe5ae43296399bb1aee1e00aa129e0
netfilter: nf_tables: bogus EBUSY in chain deletions

When removing a rule that jumps to chain and such chain in the same
batch, this bogusly hits EBUSY. Add activate and deactivate operations
to expression that can be called from the preparation and the
commit/abort phases.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nft_immediate.c