Unverified Commit 19ecfdba authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5527 netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout

parents 844655fd 78f29211
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4731,6 +4731,7 @@ static void nf_tables_unbind_set(const struct nft_ctx *ctx, struct nft_set *set,

	if (list_empty(&set->bindings) && nft_set_is_anonymous(set)) {
		list_del_rcu(&set->list);
		set->dead = 1;
		if (event)
			nf_tables_set_notify(ctx, set, NFT_MSG_DELSET,
					     GFP_KERNEL);