netfilter: nft_rbtree: no need for spinlock from set destroy path
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 2 Sep 2014 09:29:56 +0000 (11:29 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 3 Sep 2014 08:57:08 +0000 (10:57 +0200)
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>
net/netfilter/nft_rbtree.c

Simple merge