mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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:
parent
ea82edf704
commit
a91275eff4
2 changed files with 29 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue