[PATCH] sysctl: make sure that /proc/sys/net/ipv4 appears before per-ns ones
Massage ipv4 initialization - make sure that net.ipv4 appears as non-per-net-namespace before it shows up in per-net-namespace sysctls. That's the only change outside of sysctl.c needed to get sane ordering rules and data structures for sysctls (esp. for procfs side of that mess). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1439,6 +1439,10 @@ static int __init inet_init(void)
|
||||
|
||||
(void)sock_register(&inet_family_ops);
|
||||
|
||||
#ifdef CONFIG_SYSCTL
|
||||
ip_static_sysctl_init();
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Add all the base protocols.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user