diff options
| author | Andrey Vagin <[email protected]> | 2012-07-16 04:28:49 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-07-16 22:31:34 -0700 |
| commit | 51d7cccf07238f5236c5b9269231a30dd5f8e714 (patch) | |
| tree | 1155d43b810d0f163276182be610d69c50e862d9 /scripts/objdiff | |
| parent | cbc89c8cf279b85edc95b4ae40a9e7e1edf2dfae (diff) | |
net: make sock diag per-namespace
Before this patch sock_diag works for init_net only and dumps
information about sockets from all namespaces.
This patch expands sock_diag for all name-spaces.
It creates a netlink kernel socket for each netns and filters
data during dumping.
v2: filter accoding with netns in all places
remove an unused variable.
Cc: "David S. Miller" <[email protected]>
Cc: Alexey Kuznetsov <[email protected]>
Cc: James Morris <[email protected]>
Cc: Hideaki YOSHIFUJI <[email protected]>
Cc: Patrick McHardy <[email protected]>
Cc: Pavel Emelyanov <[email protected]>
CC: Eric Dumazet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Andrew Vagin <[email protected]>
Acked-by: Pavel Emelyanov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions