[NETNS]: Create ipv6 devconf-s for namespaces
authorPavel Emelyanov <xemul@openvz.org>
Fri, 11 Jan 2008 01:42:55 +0000 (17:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:40 +0000 (15:01 -0800)
commite0da5a480cafc7ca228d6b5a05dbd77344a6bd29
tree5ef0bca857db98dbe773e8c50bb4826deefd0d4c
parentbff16c2f991386883dc81ec969ba15eb270a0c7f
[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>
include/net/netns/ipv6.h
net/ipv6/addrconf.c