[NETNS][IPV6] tcp6 - make socket control per namespace
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 7 Mar 2008 19:16:02 +0000 (11:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Mar 2008 19:16:02 +0000 (11:16 -0800)
commit93ec926b075d14bb7edcbc054e92199e9ad4ad1d
tree7899be4a1f6e45199e80a324a9e9af8b582b5fb3
parent1762f7e88eb34f653b4a915be99a102e347dd45e
[NETNS][IPV6] tcp6 - make socket control per namespace

Instead of having a tcp6_socket global to all the namespace, there is
tcp6 socket control per namespace. That is consistent with which
namespace sent a RST and allows to pass the socket to the underlying
function to retrieve the network namespace.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netns/ipv6.h
net/ipv6/tcp_ipv6.c