netfilter: nf_tables: use new transaction infrastructure to handle chain
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Apr 2014 09:58:08 +0000 (11:58 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 May 2014 10:06:11 +0000 (12:06 +0200)
commit91c7b38dc9f0de4f7f444b796d14476bc12df7bc
tree09ae714bced971abaafe94aeb506a5da4559d11e
parentff3cd7b3c9225017b546785add039e1b1a22dff7
netfilter: nf_tables: use new transaction infrastructure to handle chain

This patch speeds up rule-set updates and it also introduces a way to
revert chain updates if the batch is aborted. The idea is to store the
changes in the transaction to apply that in the commit step.

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