]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables: unify user chain add/flush for restore case
authorFlorian Westphal <fw@strlen.de>
Tue, 23 Apr 2019 13:16:20 +0000 (15:16 +0200)
committerFlorian Westphal <fw@strlen.de>
Fri, 26 Apr 2019 23:08:08 +0000 (01:08 +0200)
commit0baa08fed43fa318eaa6ffe02673289343ac9cc0
tree3060ebde032b213641fe62211ae9bf4f02d91785
parent31dd3780a64935e3bcf83efb1a4354eed41f59ee
xtables: unify user chain add/flush for restore case

The idea here is to move the 'flush' decision into the core, rather than
have the decision in the frontend.

This will be required later when "generation id" is passed to kernel.
In this case, we might have to add the flush when re-trying the
transaction.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft-shared.h
iptables/nft.c
iptables/nft.h
iptables/xtables-restore.c
iptables/xtables-translate.c