]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc0fbc72871a1e3d24a8e7043a9993b8652b97ab
tree09ae714bced971abaafe94aeb506a5da4559d11e
parent52b355125256a22232d9ed811bd83da7ed34beb0
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