Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dada1@cosmosbay.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] net: af_unix can make unix_nr_socks visbile in /proc
Date: Mon, 17 Nov 2008 00:01:03 -0800 (PST)	[thread overview]
Message-ID: <20081117.000103.264682817.davem@davemloft.net> (raw)
In-Reply-To: <4921240D.9000409@cosmosbay.com>

From: Eric Dumazet <dada1@cosmosbay.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@cosmosbay.com>

Applied, thanks a lot Eric.

      reply	other threads:[~2008-11-17  8:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-17  7:58 [PATCH] net: af_unix can make unix_nr_socks visbile in /proc Eric Dumazet
2008-11-17  8:01 ` David Miller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081117.000103.264682817.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dada1@cosmosbay.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox