diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-19 15:14:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-19 15:14:01 -0800 |
commit | 14e943db133489c98d426a0dcfce4a99c6e8ad97 (patch) | |
tree | 892ae3f726e9f71fb120eb262ab249d36dedb14e /samples | |
parent | 3680453c8be54fff0d23fdf33e8961a48e1f2cd6 (diff) |
net: make /proc/net/protocols namespace aware
Converting /proc/net/protocols to be namespace aware is quite easy
and permits us to use sock_prot_inuse_get().
This provides seperate counters for each protocol. For example
we can really count TCPv6 sockets and TCPv4 sockets, while previously,
we had the same value, and this value was not namespace aware.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions