]> err.no Git - linux-2.6/commit
net: missing bits of net-namespace / sysctl
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 27 Jul 2008 11:40:51 +0000 (04:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jul 2008 11:40:51 +0000 (04:40 -0700)
commit6f9f489a4eeaa3c8a8618e078a5270d2c4872b67
treebe3348d282a5ac20275710afaaedc2a45adbb8d6
parent15d3b4a26291c170563e2b25ded5de1324f93959
net: 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: David S. Miller <davem@davemloft.net>
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