From: Eric Dumazet Date: Wed, 19 Nov 2008 23:14:01 +0000 (-0800) Subject: net: make /proc/net/protocols namespace aware X-Git-Tag: v2.6.29-rc1~581^2~682 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14e943db133489c98d426a0dcfce4a99c6e8ad97;p=pandora-kernel.git 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 Signed-off-by: Alexey Dobriyan Signed-off-by: David S. Miller --- Reading git-diff-tree failed