aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/netns/ipv6.h
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-07 14:16:02 -0500
committerDavid S. Miller <davem@davemloft.net>2008-03-07 14:16:02 -0500
commit93ec926b075d14bb7edcbc054e92199e9ad4ad1d (patch)
tree7899be4a1f6e45199e80a324a9e9af8b582b5fb3 /include/net/netns/ipv6.h
parent1762f7e88eb34f653b4a915be99a102e347dd45e (diff)
[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>
Diffstat (limited to 'include/net/netns/ipv6.h')
-rw-r--r--include/net/netns/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netns/ipv6.h b/include/net/netns/ipv6.h
index b773256d0d1d..ddb9ccddcc4d 100644
--- a/include/net/netns/ipv6.h
+++ b/include/net/netns/ipv6.h
@@ -52,5 +52,6 @@ struct netns_ipv6 {
52#endif 52#endif
53 struct sock **icmp_sk; 53 struct sock **icmp_sk;
54 struct sock *ndisc_sk; 54 struct sock *ndisc_sk;
55 struct sock *tcp_sk;
55}; 56};
56#endif 57#endif