--- zzzz-none-000/linux-4.4.60/net/bridge/netfilter/ebtables.c 2017-04-08 07:53:53.000000000 +0000 +++ jet-2400-727/linux-4.4.60/net/bridge/netfilter/ebtables.c 2021-03-17 14:36:41.000000000 +0000 @@ -2416,11 +2416,13 @@ } printk(KERN_INFO "Ebtables v2.0 registered\n"); + brnf_call_ebtables = 1; return 0; } static void __exit ebtables_fini(void) { + brnf_call_ebtables = 0; nf_unregister_sockopt(&ebt_sockopts); xt_unregister_target(&ebt_standard_target); printk(KERN_INFO "Ebtables v2.0 unregistered\n");