From: Eric Dumazet Date: Mon, 17 Nov 2008 08:00:30 +0000 (-0800) Subject: net: af_unix can make unix_nr_socks visbile in /proc X-Git-Tag: v2.6.29-rc1~581^2~687 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=248969ae31e1b3276fc4399d67ce29a5d81e6fd9;p=pandora-kernel.git net: af_unix can make unix_nr_socks visbile in /proc Currently, /proc/net/protocols displays socket counts only for TCP/TCPv6 protocols We can provide unix_nr_socks for free here, this counter being already maintained in af_unix Before patch : # grep UNIX /proc/net/protocols UNIX 428 -1 -1 NI 0 yes kernel After patch : # grep UNIX /proc/net/protocols UNIX 428 98 -1 NI 0 yes kernel Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed