diff options
| author | Daniel Lezcano <[email protected]> | 2008-03-21 11:14:45 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-03-21 11:14:45 +0000 |
| commit | 6f8b13bcb3369a5df2e63acc422bed6098f5b8c4 (patch) | |
| tree | 715d53b85e86b26c113b417e269602d1cb8ca436 /net/ipv6/tcp_ipv6.c | |
| parent | [NETNS][IPV6] udp6 - make proc per namespace (diff) | |
| download | kernel-6f8b13bcb3369a5df2e63acc422bed6098f5b8c4.tar.gz kernel-6f8b13bcb3369a5df2e63acc422bed6098f5b8c4.zip | |
[NETNS][IPV6] tcp6 - make proc per namespace
Make the proc for tcp6 to be per namespace.
Signed-off-by: Daniel Lezcano <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
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 = { .seq_fops = &tcp6_seq_fops, }; -int __init tcp6_proc_init(void) +int tcp6_proc_init(struct net *net) { - return tcp_proc_register(&tcp6_seq_afinfo); + return tcp_proc_register(net, &tcp6_seq_afinfo); } -void tcp6_proc_exit(void) +void tcp6_proc_exit(struct net *net) { - tcp_proc_unregister(&tcp6_seq_afinfo); + tcp_proc_unregister(net, &tcp6_seq_afinfo); } #endif |
