projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
885b0d4
)
net: Convert udp_sysctl_ops
author
Kirill Tkhai
<ktkhai@virtuozzo.com>
Thu, 22 Mar 2018 18:34:46 +0000
(21:34 +0300)
committer
David 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
patch
|
blob
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index 908fc02fb4f83e7533cb38ab1ba7b4fe5857c022..c6dc019bc64b56b00b64ffe9ae1d84ce8097e5b4 100644
(file)
--- 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)