summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_diag.c
diff options
context:
space:
mode:
authorEric Dumazet <dada1@cosmosbay.com>2008-11-19 15:14:01 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-19 15:14:01 -0800
commit14e943db133489c98d426a0dcfce4a99c6e8ad97 (patch)
tree892ae3f726e9f71fb120eb262ab249d36dedb14e /net/ipv4/tcp_diag.c
parent3680453c8be54fff0d23fdf33e8961a48e1f2cd6 (diff)
downloadlinux-14e943db133489c98d426a0dcfce4a99c6e8ad97.tar.bz2
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 'net/ipv4/tcp_diag.c')
0 files changed, 0 insertions, 0 deletions