Unverified Commit 37a3e8b9 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!2092 netfilter: nf_tables: skip bound chain on rule flush

parents 568e5d6f f422c0ce
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3516,6 +3516,8 @@ static int nf_tables_delrule(struct net *net, struct sock *nlsk,
		list_for_each_entry(chain, &table->chains, list) {
			if (!nft_is_active_next(net, chain))
				continue;
			if (nft_chain_is_bound(chain))
				continue;

			ctx.chain = chain;
			err = nft_delrule_by_chain(&ctx);