summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Lezcano <dlezcano@fr.ibm.com>2008-03-21 12:13:54 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-21 12:13:54 +0100
commitf40c8174d3c21bf178283f3ef3aa8c7bf238fdec (patch)
treee82b56babcf523676ebfa420f35b3bc459d80986 /include
parent[NETNS][IPV6] tcp - assign the netns for timewait sockets (diff)
downloadlinux-f40c8174d3c21bf178283f3ef3aa8c7bf238fdec.tar.xz
linux-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')
-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;