]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:38:37 +0000 (12:38 +0100)
commitb37a02719c34affecc4b28f1a6be4935267207e3
tree4b4acb239b33998dcdf798f6c9af4d564c584ec7
parentf31e18131ee2ce80a4da5c808221d25b1ae9ad6d
netfilter: nf_tables: bogus EBUSY in helper removal from transaction

commit 8ffcd32f64633926163cdd07a7d295c500a947d1 upstream.

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

Fixes: cd5125d8f518 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/netfilter/nft_objref.c