]> git.baikalelectronics.ru Git - kernel.git/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)
commitb91787093e4b183051bb94c853d9c6960142f84f
treeb52cddf222ee55082c0aeee5627049aa0d12afa4
parent54e4aff7ed0ff680daec915685bf5431835e0232
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