mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-24 19:10:26 +00:00
netfilter: nf_tables: skip netdev hook unregistration if table is dormant
[ Upstream commit216e7bf740] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
2d0d1abe11
commit
cf89395363
1 changed files with 10 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue