aboutsummaryrefslogtreecommitdiff
path: root/include/net/udp.h
diff options
context:
space:
mode:
authorGravatar Daniel Lezcano <dlezcano@fr.ibm.com> 2008-03-21 04:11:58 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2008-03-21 04:11:58 -0700
commita91275eff43a527e1a25d6d034cbcd19ee323e64 (patch)
treeb4cb01b2bc5da9d5631be2eabab64671fdf766af /include/net/udp.h
parent[NETNS][IPV6] mcast - fix compilation warning when procfs is not compiled in (diff)
downloadlinux-a91275eff43a527e1a25d6d034cbcd19ee323e64.tar.gz
linux-a91275eff43a527e1a25d6d034cbcd19ee323e64.tar.bz2
linux-a91275eff43a527e1a25d6d034cbcd19ee323e64.zip
[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>
Diffstat (limited to 'include/net/udp.h')
-rw-r--r--include/net/udp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/udp.h b/include/net/udp.h
index c6669c0a74c7..a1b33d667199 100644
--- a/include/net/udp.h
+++ b/include/net/udp.h
@@ -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;