diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-15 22:00:59 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-07-27 02:53:10 +0200 |
commit | bd7b1533cd6a68c734062aa69394bec7e2b1718e (patch) | |
tree | f968f6c68672502db08912bf69d8e3d1ba25169b /include/net | |
parent | [PATCH] allow delayed freeing of ctl_table_header (diff) | |
download | linux-bd7b1533cd6a68c734062aa69394bec7e2b1718e.tar.xz linux-bd7b1533cd6a68c734062aa69394bec7e2b1718e.zip |
[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>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/ip.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip.h b/include/net/ip.h index b5862b975207..250e6ef025a4 100644 --- a/include/net/ip.h +++ b/include/net/ip.h @@ -188,6 +188,8 @@ extern int sysctl_ip_dynaddr; extern void ipfrag_init(void); +extern void ip_static_sysctl_init(void); + #ifdef CONFIG_INET #include <net/dst.h> |