[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>
This commit is contained in:
committed by
David S. Miller
parent
f40c8174d3
commit
0c96d8c50b
@ -200,8 +200,8 @@ struct udp_iter_state {
|
||||
};
|
||||
|
||||
#ifdef CONFIG_PROC_FS
|
||||
extern int udp_proc_register(struct udp_seq_afinfo *afinfo);
|
||||
extern void udp_proc_unregister(struct udp_seq_afinfo *afinfo);
|
||||
extern int udp_proc_register(struct net *net, struct udp_seq_afinfo *afinfo);
|
||||
extern void udp_proc_unregister(struct net *net, struct udp_seq_afinfo *afinfo);
|
||||
|
||||
extern int udp4_proc_init(void);
|
||||
extern void udp4_proc_exit(void);
|
||||
|
Reference in New Issue
Block a user