diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-22 19:34:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-23 18:00:46 +0100 |
commit | fc18999ed2a217f249e9880363b28a89c839737e (patch) | |
tree | 45d03bcc63119bdbb19ec2c8b8dfd05c24b61968 /net | |
parent | mlxsw: spectrum_span: Fix initialization of struct mlxsw_sp_span_parms (diff) | |
download | linux-fc18999ed2a217f249e9880363b28a89c839737e.tar.xz linux-fc18999ed2a217f249e9880363b28a89c839737e.zip |
net: Convert udp_sysctl_ops
These pernet_operations just initialize udp4 defaults.
Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/ipv4/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 908fc02fb4f8..c6dc019bc64b 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c @@ -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) |