]> git.ipfire.org Git - thirdparty/iptables.git/commit
xtables-restore: support atomic commit
authorPablo Neira Ayuso <pablo@netfilter.org>
Sun, 20 Jan 2013 19:19:20 +0000 (20:19 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 30 Dec 2013 22:50:23 +0000 (23:50 +0100)
commit9e62dc8637f210cdeaed784396fecab9b6e5f043
treee53163246d426495c972e8176f6c681067ecddec
parent0aad20f3979e3b6becd40e4ed5bba8d09d90706e
xtables-restore: support atomic commit

Use new services in nf_tables to support atomic commit.

Commit per table, although we support global commit at once,
call commit for each table to emulate iptables-restore
behaviour by now.

Keep table dormant/wake up code in iptables/nft.c as it can
be used in the future.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nf_tables.h
iptables/nft.c
iptables/nft.h
iptables/xtables-restore.c
iptables/xtables-standalone.c