]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_rbtree: check for next generation when deactivating elements
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 20 Jun 2016 22:12:15 +0000 (00:12 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Jun 2016 09:03:26 +0000 (11:03 +0200)
commit05c9b191e25db3465355edcea86be80a6b9e3e4e
tree129316ac4883cfe54d9331a41e093910f5f6c6d3
parent0ae6e5fff9b73287573a186c652b7a0bc554ca22
netfilter: nft_rbtree: check for next generation when deactivating elements

set->ops->deactivate() is invoked from nft_del_setelem() that happens
from the transaction path, so we have to check if the object is active
in the next generation, not the current.

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