From: Pablo Neira Ayuso Date: Tue, 2 Sep 2014 09:29:56 +0000 (+0200) Subject: netfilter: nft_rbtree: no need for spinlock from set destroy path X-Git-Tag: fixes-for-v3.18-merge-window~53^2~15^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d99407f42f05843ae9e23696ea6d91529d9600db;p=pandora-kernel.git 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 Reviewied-by: Thomas Graf --- Reading git-diff-tree failed