diff options
author | Daniel Lezcano <dlezcano@fr.ibm.com> | 2008-03-21 07:14:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-21 07:14:17 -0400 |
commit | 0c96d8c50bffb7f02690dd8a8cf1adb8e07e100f (patch) | |
tree | 9add3d8686b41aa3022b49d9cc57710865245e26 /net/ipv6/udplite.c | |
parent | f40c8174d3c21bf178283f3ef3aa8c7bf238fdec (diff) |
[NETNS][IPV6] udp6 - make proc per namespace
The proc init/exit functions take a new network namespace parameter in
order to register/unregister /proc/net/udp6 for a namespace.
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/udplite.c')
-rw-r--r-- | net/ipv6/udplite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/udplite.c b/net/ipv6/udplite.c index 87d4202522ee..815190be528c 100644 --- a/net/ipv6/udplite.c +++ b/net/ipv6/udplite.c | |||
@@ -115,11 +115,11 @@ static struct udp_seq_afinfo udplite6_seq_afinfo = { | |||
115 | 115 | ||
116 | int __init udplite6_proc_init(void) | 116 | int __init udplite6_proc_init(void) |
117 | { | 117 | { |
118 | return udp_proc_register(&udplite6_seq_afinfo); | 118 | return udp_proc_register(&init_net, &udplite6_seq_afinfo); |
119 | } | 119 | } |
120 | 120 | ||
121 | void udplite6_proc_exit(void) | 121 | void udplite6_proc_exit(void) |
122 | { | 122 | { |
123 | udp_proc_unregister(&udplite6_seq_afinfo); | 123 | udp_proc_unregister(&init_net, &udplite6_seq_afinfo); |
124 | } | 124 | } |
125 | #endif | 125 | #endif |