[NETNS][IPV6] udp - make proc handle the network namespace

This patch makes the common udp proc functions to take care of which
socket they should show taking into account the namespace it belongs.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Daniel Lezcano
2008-03-21 04:11:58 -07:00
committed by David S. Miller
parent ea82edf704
commit a91275eff4
2 changed files with 29 additions and 4 deletions

View File

@@ -192,6 +192,7 @@ struct udp_seq_afinfo {
};
struct udp_iter_state {
struct net *net;
sa_family_t family;
struct hlist_head *hashtable;
int bucket;