]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_tables: defer all object release via rcu
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 9 Apr 2014 22:31:10 +0000 (00:31 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 19 May 2014 10:06:13 +0000 (12:06 +0200)
commitc7c32e72cbe23cea97c5d87ffcf6e23cc1ec1a65
tree82615a2c98f2cf8d3f7446aa31040c0791f93287
parent128ad3322ba5de8fa346203c9931d1fdcab8da87
netfilter: nf_tables: defer all object release via rcu

Now that all objects are released in the reverse order via the
transaction infrastructure, we can enqueue the release via
call_rcu to save one synchronize_rcu. For small rule-sets loaded
via nft -f, it now takes around 50ms less here.

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