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)
committerFlorian Westphal <fw@strlen.de>
Thu, 20 Jul 2023 15:02:45 +0000 (17:02 +0200)
commit751d460ccff3137212f47d876221534bf0490996
tree7ea3c335209bc4e33182122b6f97152e7697af93
parent87b5a5c209405cb6b57424cdfa226a6dbd349232
netfilter: nf_tables: skip bound chain in netns release path

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>
net/netfilter/nf_tables_api.c