]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: bogus EBUSY in helper removal from transaction
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 14 Mar 2019 09:50:20 +0000 (10:50 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Mar 2019 15:22:49 +0000 (16:22 +0100)
commit9965f23806938d5ffaf73f33e03cdf0bc0ba9c06
tree0485de83c0f4cbb9f5eac434599c7fc44a92bba2
parent7b4bd1a05e5ff56932e66f5ddc7f9ea7f141cb65
netfilter: nf_tables: bogus EBUSY in helper removal from transaction

Proper use counter updates when activating and deactivating the object,
otherwise, this hits bogus EBUSY error.

Fixes: ea3cf8101c0d ("netfilter: nf_tables: split set destruction in deactivate and destroy phase")
Reported-by: Laura Garcia <nevola@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_objref.c