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)
commit60319eb1ca351aa36e29d58d2e60ba9a9836265a
tree730f96cdcbb54f61cd9b449bd6c5c68def0dcbf7
parent55dd6f93076bb82aa8911191125418dcfcbf2c9b
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