diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-01-10 20:42:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:01:40 -0500 |
commit | e0da5a480cafc7ca228d6b5a05dbd77344a6bd29 (patch) | |
tree | 5ef0bca857db98dbe773e8c50bb4826deefd0d4c /include | |
parent | bff16c2f991386883dc81ec969ba15eb270a0c7f (diff) |
[NETNS]: Create ipv6 devconf-s for namespaces
This is the core. Declare and register the pernet subsys for
addrconf. The init callback the will create the devconf-s.
The init_net will reuse the existing statically declared confs,
so that accessing them from inside the ipv6 code will still
work.
The register_pernet_subsys() is moved above the ipv6_add_dev()
call for loopback, because this function will need the
net->devconf_dflt pointer to be already set.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netns/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h index 10733a6f1bd4..06b4dc034bbd 100644 --- a/include/net/netns/ipv6.h +++ b/include/net/netns/ipv6.h | |||
@@ -28,5 +28,7 @@ struct netns_sysctl_ipv6 { | |||
28 | 28 | ||
29 | struct netns_ipv6 { | 29 | struct netns_ipv6 { |
30 | struct netns_sysctl_ipv6 sysctl; | 30 | struct netns_sysctl_ipv6 sysctl; |
31 | struct ipv6_devconf *devconf_all; | ||
32 | struct ipv6_devconf *devconf_dflt; | ||
31 | }; | 33 | }; |
32 | #endif | 34 | #endif |