mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
It is possible for ebt_in_hook to be triggered before ebt_table is assigned
resulting in a NULL-pointer dereference. Make sure hooks are
registered as the last step.
Fixes: aee12a0a37 ("ebtables: remove nf_hook_register usage")
Signed-off-by: Artem Savkov <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>