git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3ccc12
)
net: af_unix can make unix_nr_socks visbile in /proc
author
Eric Dumazet
<dada1@cosmosbay.com>
Mon, 17 Nov 2008 08:00:30 +0000
(
00:00
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 17 Nov 2008 08:00:30 +0000
(
00:00
-0800)
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 <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/unix/af_unix.c
patch
|
blob
|
history
diff --cc
net/unix/af_unix.c
Simple merge