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 883ce78 commit 61c83deCopy full SHA for 61c83de
net/netfilter/ipvs/ip_vs_core.c
@@ -2280,7 +2280,6 @@ static void __net_exit __ip_vs_cleanup(struct net *net)
2280
{
2281
struct netns_ipvs *ipvs = net_ipvs(net);
2282
2283
- nf_unregister_net_hooks(net, ip_vs_ops, ARRAY_SIZE(ip_vs_ops));
2284
ip_vs_service_net_cleanup(ipvs); /* ip_vs_flush() with locks */
2285
ip_vs_conn_net_cleanup(ipvs);
2286
ip_vs_app_net_cleanup(ipvs);
@@ -2295,6 +2294,7 @@ static void __net_exit __ip_vs_dev_cleanup(struct net *net)
2295
2294
2296
2297
EnterFunction(2);
+ nf_unregister_net_hooks(net, ip_vs_ops, ARRAY_SIZE(ip_vs_ops));
2298
ipvs->enable = 0; /* Disable packet reception */
2299
smp_wmb();
2300
ip_vs_sync_net_cleanup(ipvs);
0 commit comments