]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nftables: skip hook overlap logic if flowtable is stale
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 17 Mar 2021 20:19:57 +0000 (21:19 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 18 Mar 2021 00:08:54 +0000 (01:08 +0100)
commitca817082a39382e8bf2aa74f9ba8f6ba41a5ef50
treed543aaa2ed1ade3a860e2d118ba1e7c57f5a7919
parent60f49e1b444fcc95aae439eb1a7708b9948cf347
netfilter: nftables: skip hook overlap logic if flowtable is stale

If the flowtable has been previously removed in this batch, skip the
hook overlap checks. This fixes spurious EEXIST errors when removing and
adding the flowtable in the same batch.

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