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 e633508 commit 719c7d5Copy full SHA for 719c7d5
net/netfilter/ipvs/ip_vs_core.c
@@ -2312,7 +2312,6 @@ static void __net_exit __ip_vs_cleanup(struct net *net)
2312
{
2313
struct netns_ipvs *ipvs = net_ipvs(net);
2314
2315
- nf_unregister_net_hooks(net, ip_vs_ops, ARRAY_SIZE(ip_vs_ops));
2316
ip_vs_service_net_cleanup(ipvs); /* ip_vs_flush() with locks */
2317
ip_vs_conn_net_cleanup(ipvs);
2318
ip_vs_app_net_cleanup(ipvs);
@@ -2327,6 +2326,7 @@ static void __net_exit __ip_vs_dev_cleanup(struct net *net)
2327
2326
2328
2329
EnterFunction(2);
+ nf_unregister_net_hooks(net, ip_vs_ops, ARRAY_SIZE(ip_vs_ops));
2330
ipvs->enable = 0; /* Disable packet reception */
2331
smp_wmb();
2332
ip_vs_sync_net_cleanup(ipvs);
0 commit comments