aboutsummaryrefslogtreecommitdiffstats
path: root/mm
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 /mm
parentnet: af_packet should update its inuse counter (diff)
downloadlinux-dev-14e943db133489c98d426a0dcfce4a99c6e8ad97.tar.xz
linux-dev-14e943db133489c98d426a0dcfce4a99c6e8ad97.zip
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 'mm')
0 files changed, 0 insertions, 0 deletions