]> git.baikalelectronics.ru Git - kernel.git/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)
commit5329114db396c18df7d82003e3c3e8def605156b
treebe3348d282a5ac20275710afaaedc2a45adbb8d6
parent06fcc77c344c6a05ca9ea6181eaab6b4eccc8a1d
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