Offering: HULK
hulk inclusion
category: bugfix
bugzilla: NA
-------------------------------
This reverts commit dbc47736365771e25f6c831a57d4ff384ba983ef.
Backport the dependency patch and then re-backport this patch.
Signed-off-by: Lu Wei <luwei32(a)huawei.com>
---
net/netfilter/nf_tables_api.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
index bbe6e7023683..40fbf2d78427 100644
--- a/net/netfilter/nf_tables_api.c
+++ b/net/netfilter/nf_tables_api.c
@@ -4564,8 +4564,6 @@ void nf_tables_deactivate_set(const struct nft_ctx *ctx, struct nft_set *set,
nft_set_trans_unbind(ctx, set);
if (nft_set_is_anonymous(set))
nft_deactivate_next(ctx->net, set);
- else
- list_del_rcu(&binding->list);
set->use--;
break;
--
2.34.1