We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8700970 commit 3e70525Copy full SHA for 3e70525
net/netfilter/nf_flow_table_core.c
@@ -670,8 +670,14 @@ static int __init nf_flow_table_module_init(void)
670
if (ret)
671
goto out_offload;
672
673
+ ret = nf_flow_register_bpf();
674
+ if (ret)
675
+ goto out_bpf;
676
+
677
return 0;
678
679
+out_bpf:
680
+ nf_flow_table_offload_exit();
681
out_offload:
682
unregister_pernet_subsys(&nf_flow_table_net_ops);
683
return ret;
net/netfilter/nf_flow_table_inet.c
@@ -101,7 +101,7 @@ static int __init nf_flow_inet_module_init(void)
101
nft_register_flowtable_type(&flowtable_ipv6);
102
nft_register_flowtable_type(&flowtable_inet);
103
104
- return nf_flow_register_bpf();
+ return 0;
105
}
106
107
static void __exit nf_flow_inet_module_exit(void)
0 commit comments