summaryrefslogtreecommitdiffstats
path: root/libiptc
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-06-09 18:55:29 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-06-10 11:27:09 +0200
commitf1299b98d7ff200eb50ca574278bfeb1368de01b (patch)
tree312f6ed6034990c81f45e274b9bd84f9ba286b2c /libiptc
parentee85b1bc1bb9f91daf2004823dfa204dbc52f52a (diff)
iptables: nft: add tables and chains to the batch
Since kernel changes: 55dd6f9 ("netfilter: nf_tables: use new transaction infrastructure to handle table"). 91c7b38 ("netfilter: nf_tables: use new transaction infrastructure to handle chain"). it is possible to put tables and chains in the same batch (which was already including rules). This patch probes the kernel to check if if the new transaction is available, otherwise it falls back to the previous non-transactional approach to handle these two objects. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libiptc')
0 files changed, 0 insertions, 0 deletions