]> err.no Git - linux-2.6/commit
[PATCH] sysctl: make sure that /proc/sys/net/ipv4 appears before per-ns ones
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 15 Jul 2008 20:00:59 +0000 (16:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 00:53:10 +0000 (20:53 -0400)
commitbd7b1533cd6a68c734062aa69394bec7e2b1718e
treef968f6c68672502db08912bf69d8e3d1ba25169b
parentf7e6ced4061da509f737541ca4dbd44d83a6e82f
[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>
include/net/ip.h
net/ipv4/af_inet.c
net/ipv4/sysctl_net_ipv4.c