net: Convert udp_sysctl_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Thu, 22 Mar 2018 18:34:46 +0000 (21:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Mar 2018 17:00:46 +0000 (13:00 -0400)
These pernet_operations just initialize udp4 defaults.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/udp.c

index 908fc02..c6dc019 100644 (file)
@@ -2842,7 +2842,8 @@ static int __net_init udp_sysctl_init(struct net *net)
 }
 
 static struct pernet_operations __net_initdata udp_sysctl_ops = {
-       .init       = udp_sysctl_init,
+       .init   = udp_sysctl_init,
+       .async  = true,
 };
 
 void __init udp_init(void)