mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
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>