]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: use new transaction infrastructure to handle elements
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 4 Apr 2014 01:36:42 +0000 (03:36 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 May 2014 10:06:12 +0000 (12:06 +0200)
commit014158d5126e3854352f9e906a71c8bed3c37c89
tree730f96cdcbb54f61cd9b449bd6c5c68def0dcbf7
parent70acafd59c8d7f95d5e5ff3cf41218675b2a674f
netfilter: nf_tables: use new transaction infrastructure to handle elements

Leave the set content in consistent state if we fail to load the
batch. Use the new generic transaction infrastructure to achieve
this.

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