summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-21 04:13:54 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-21 04:13:54 -0700
commitf40c8174d3c21bf178283f3ef3aa8c7bf238fdec (patch)
treee82b56babcf523676ebfa420f35b3bc459d80986 /include/net
parent8d9f1744cab50acb0c6c9553be533621e01f178b (diff)
downloadlinux-stable-f40c8174d3c21bf178283f3ef3aa8c7bf238fdec.tar.gz
linux-stable-f40c8174d3c21bf178283f3ef3aa8c7bf238fdec.tar.bz2
linux-stable-f40c8174d3c21bf178283f3ef3aa8c7bf238fdec.zip
[NETNS][IPV4] tcp - make proc handle the network namespaces
This patch, like udp proc, makes the proc functions to take care of which namespace the socket belongs. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 11119e33acfe..6b08dab1b1fa 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1328,6 +1328,7 @@ struct tcp_seq_afinfo {
};
struct tcp_iter_state {
+ struct net *net;
sa_family_t family;
enum tcp_seq_states state;
struct sock *syn_wait_sk;