Files
linux-apfs/net
Eric Dumazet 248969ae31 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 <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-17 00:00:30 -08:00
..
2008-11-05 13:19:07 -06:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-11-16 19:50:35 -08:00
2008-11-16 22:56:55 -08:00
2008-11-03 18:21:05 -08:00
2008-09-30 03:03:35 -07:00
2008-11-03 18:21:05 -08:00
2008-10-31 00:54:56 -07:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-10-31 00:54:56 -07:00
2008-11-16 23:01:49 -08:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-07-24 10:47:27 -07:00