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/ipv4/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/ipv4/udplite.c')
-rw-r--r-- | net/ipv4/udplite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index d49c6d68c8a9..2469b5104587 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c | |||
@@ -105,7 +105,7 @@ void __init udplite4_register(void) | |||
105 | inet_register_protosw(&udplite4_protosw); | 105 | inet_register_protosw(&udplite4_protosw); |
106 | 106 | ||
107 | #ifdef CONFIG_PROC_FS | 107 | #ifdef CONFIG_PROC_FS |
108 | if (udp_proc_register(&udplite4_seq_afinfo)) /* udplite4_proc_init() */ | 108 | if (udp_proc_register(&init_net, &udplite4_seq_afinfo)) |
109 | printk(KERN_ERR "%s: Cannot register /proc!\n", __func__); | 109 | printk(KERN_ERR "%s: Cannot register /proc!\n", __func__); |
110 | #endif | 110 | #endif |
111 | return; | 111 | return; |