]> 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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 18 Mar 2019 15:22:49 +0000 (16:22 +0100)
commit8ffcd32f64633926163cdd07a7d295c500a947d1
tree0485de83c0f4cbb9f5eac434599c7fc44a92bba2
parent6d65561f3d5ec933151939c543d006b79044e7a6
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: 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>
net/netfilter/nft_objref.c