Commit fc18999e authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

net: Convert udp_sysctl_ops

These pernet_operations just initialize udp4 defaults.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 885b0d43
...@@ -2842,7 +2842,8 @@ static int __net_init udp_sysctl_init(struct net *net) ...@@ -2842,7 +2842,8 @@ static int __net_init udp_sysctl_init(struct net *net)
} }
static struct pernet_operations __net_initdata udp_sysctl_ops = { static struct pernet_operations __net_initdata udp_sysctl_ops = {
.init = udp_sysctl_init, .init = udp_sysctl_init,
.async = true,
}; };
void __init udp_init(void) void __init udp_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment