]> 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)
commit24d960c641415f03d707515da6fd045faa1eb898
treed543aaa2ed1ade3a860e2d118ba1e7c57f5a7919
parentacc941668242a49aa64bd39ea184c3a84f88772d
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