diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-07-27 03:59:33 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-27 12:45:34 -0400 |
commit | eeb61f719c00c626115852bbc91189dc3011a844 (patch) | |
tree | b52cddf222ee55082c0aeee5627049aa0d12afa4 /include/net/ipv6.h | |
parent | bfbcf034798b2ca45338cee5049b5694b7ddc865 (diff) |
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>
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 2d5c18514a2d..113028fb8f66 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -608,6 +608,8 @@ extern struct ctl_table *ipv6_icmp_sysctl_init(struct net *net); | |||
608 | extern struct ctl_table *ipv6_route_sysctl_init(struct net *net); | 608 | extern struct ctl_table *ipv6_route_sysctl_init(struct net *net); |
609 | extern int ipv6_sysctl_register(void); | 609 | extern int ipv6_sysctl_register(void); |
610 | extern void ipv6_sysctl_unregister(void); | 610 | extern void ipv6_sysctl_unregister(void); |
611 | extern int ipv6_static_sysctl_register(void); | ||
612 | extern void ipv6_static_sysctl_unregister(void); | ||
611 | #endif | 613 | #endif |
612 | 614 | ||
613 | #endif /* __KERNEL__ */ | 615 | #endif /* __KERNEL__ */ |