ipv6 netns: init net is used to set bindv6only for new sock
commit2e761e0532a784816e7e822dbaaece8c5d4be14d
authorPavel Emelyanov <xemul@openvz.org>
Mon, 9 Jun 2008 22:53:30 +0000 (9 15:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jun 2008 22:53:30 +0000 (9 15:53 -0700)
tree9513ffae037602a5736c8a8b0aabc5b764631c98
parent1420a4faee7086b6811b4a1f0672e32b5a6df80e
ipv6 netns: init net is used to set bindv6only for new sock

The bindv6only is tuned via sysctl. It is already on a struct net
and per-net sysctls allow for its modification (ipv6_sysctl_net_init).

Despite this the value configured in the init net is used for the
rest of them.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c