summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-22 21:34:46 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-23 13:00:46 -0400
commitfc18999ed2a217f249e9880363b28a89c839737e (patch)
tree45d03bcc63119bdbb19ec2c8b8dfd05c24b61968 /net/ipv4
parent885b0d4375a102d002bc654b4b68da46ba060032 (diff)
downloadlinux-fc18999ed2a217f249e9880363b28a89c839737e.tar.bz2
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/ipv4')
-rw-r--r--net/ipv4/udp.c3
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)