]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: skip bound chain in netns release path
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Jul 2023 18:19:43 +0000 (20:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:50:46 +0000 (08:50 +0200)
commitec3e856075c54a04df13c6c862dc0bff9722917a
treefa5106af1bd08ddadbda2407c3028014a1d3a467
parent90c3955beb858bb52a9e5c4380ed0e520e3730d1
netfilter: nf_tables: skip bound chain in netns release path

[ Upstream commit 751d460ccff3137212f47d876221534bf0490996 ]

Skip bound chain from netns release path, the rule that owns this chain
releases these objects.

Fixes: d0e2c7de92c7 ("netfilter: nf_tables: add NFT_CHAIN_BINDING")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_tables_api.c