diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-21 07:14:45 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-21 07:14:45 -0400 |
commit | 6f8b13bcb3369a5df2e63acc422bed6098f5b8c4 (patch) | |
tree | 715d53b85e86b26c113b417e269602d1cb8ca436 /net/ipv6/tcp_ipv6.c | |
parent | 0c96d8c50bffb7f02690dd8a8cf1adb8e07e100f (diff) |
[NETNS][IPV6] tcp6 - make proc per namespace
Make the proc for tcp6 to be per namespace.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index caf0cc1c00e1..56d0cea7d578 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -2129,14 +2129,14 @@ static struct tcp_seq_afinfo tcp6_seq_afinfo = { | |||
2129 | .seq_fops = &tcp6_seq_fops, | 2129 | .seq_fops = &tcp6_seq_fops, |
2130 | }; | 2130 | }; |
2131 | 2131 | ||
2132 | int __init tcp6_proc_init(void) | 2132 | int tcp6_proc_init(struct net *net) |
2133 | { | 2133 | { |
2134 | return tcp_proc_register(&tcp6_seq_afinfo); | 2134 | return tcp_proc_register(net, &tcp6_seq_afinfo); |
2135 | } | 2135 | } |
2136 | 2136 | ||
2137 | void tcp6_proc_exit(void) | 2137 | void tcp6_proc_exit(struct net *net) |
2138 | { | 2138 | { |
2139 | tcp_proc_unregister(&tcp6_seq_afinfo); | 2139 | tcp_proc_unregister(net, &tcp6_seq_afinfo); |
2140 | } | 2140 | } |
2141 | #endif | 2141 | #endif |
2142 | 2142 | ||