[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081117.000103.264682817.davem@davemloft.net>
Date: Mon, 17 Nov 2008 00:01:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: af_unix can make unix_nr_socks visbile in /proc
From: Eric Dumazet <dada1@...mosbay.com>
Date: Mon, 17 Nov 2008 08:58:05 +0100
> 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@...mosbay.com>
Applied, thanks a lot Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists