mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
netfilter: nf_tables: skip netdev hook unregistration if table is dormant
Skip hook unregistration when adding or deleting devices from an existing netdev basechain. Otherwise, commit/abort path try to unregister hooks which not enabled. Fixes:b9703ed44f("netfilter: nf_tables: support for adding new devices to an existing netdev chain") Fixes:7d937b1071("netfilter: nf_tables: support for deleting devices in an existing netdev chain") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
1e1fb6f00f
commit
216e7bf740
1 changed files with 10 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue