netfilter: nft_rbtree: introduce locking
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 28 May 2014 13:27:18 +0000 (15:27 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 2 Jun 2014 08:54:31 +0000 (10:54 +0200)
There's no rbtree rcu version yet, so let's fall back on the spinlock
to protect the concurrent access of this structure both from user
(to update the set content) and kernel-space (in the packet path).

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_rbtree.c

Simple merge