summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-09-02 13:29:56 +0400
committerPablo Neira Ayuso <pablo@netfilter.org>2014-09-03 12:57:08 +0400
commitd99407f42f05843ae9e23696ea6d91529d9600db (patch)
tree0cc353bb9c13a169dc9ce0ab2516713098f6d39f /lib
parent39f390167e9ca73c009d3c8e2d6c3b4286b02ab6 (diff)
downloadlinux-d99407f42f05843ae9e23696ea6d91529d9600db.tar.xz
netfilter: nft_rbtree: no need for spinlock from set destroy path
The sets are released from the rcu callback, after the rule is removed from the chain list, which implies that nfnetlink cannot update the rbtree and no packets are walking on the set anymore. Thus, we can get rid of the spinlock in the set destroy path there. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Reviewied-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions