]> err.no Git - linux-2.6/commit
missing bits of net-namespace / sysctl
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 27 Jul 2008 07:59:33 +0000 (08:59 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 27 Jul 2008 16:45:34 +0000 (09:45 -0700)
commiteeb61f719c00c626115852bbc91189dc3011a844
treeb52cddf222ee55082c0aeee5627049aa0d12afa4
parentbfbcf034798b2ca45338cee5049b5694b7ddc865
missing bits of net-namespace / sysctl

Piss-poor sysctl registration API strikes again, film at 11...

What we really need is _pathname_ required to be present in already
registered table, so that kernel could warn about bad order.  That's the
next target for sysctl stuff (and generally saner and more explicit
order of initialization of ipv[46] internals wouldn't hurt either).

For the time being, here are full fixups required by ..._rotable()
stuff; we make per-net sysctl sets descendents of "ro" one and make sure
that sufficient skeleton is there before we start registering per-net
sysctls.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/net/ipv6.h
include/net/route.h
net/ipv4/route.c
net/ipv4/sysctl_net_ipv4.c
net/ipv6/af_inet6.c
net/ipv6/sysctl_net_ipv6.c
net/sysctl_net.c