From: "Arnaldo Carvalho de Melo" <acme@redhat.com>
To: Arnaldo Carvalho de Melo <acme@redhat.com>,
Pavel Emelyanov <xemul@openvz.org>,
David Miller <davem@davemloft.net>,
Linux Netdev List <netdev@vger.kernel.org>,
devel@openvz.org
Subject: Re: [PATCH][PACKET] Remove unneeded packet_socks_nr variable
Date: Wed, 7 Nov 2007 13:53:01 -0200 [thread overview]
Message-ID: <20071107155301.GJ27345@ghostprotocols.net> (raw)
In-Reply-To: <20071107155004.GI27345@ghostprotocols.net>
Em Wed, Nov 07, 2007 at 01:50:04PM -0200, Arnaldo Carvalho de Melo escreveu:
> Em Wed, Nov 07, 2007 at 06:32:51PM +0300, Pavel Emelyanov escreveu:
> > This one is used only under ifdef PACKET_REFCNT_DEBUG in
> > printk and is not needed otherwise. So hide all this stuff
> > under the PACKET_REFCNT_DEBUG.
> >
> > Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
>
> Look at sk_refcnt_debug_inc, etc and you'll se a more standard way. I
> forgot to make this when making all protocol families use sk_prot, even
> if just partially :-)
As a bonus you'll get this information on /proc/net/protocols, removing
'-1' from PACKET column for "sockets".
- Arnaldo
next prev parent reply other threads:[~2007-11-07 15:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-07 15:32 [PATCH][PACKET] Remove unneeded packet_socks_nr variable Pavel Emelyanov
2007-11-07 15:50 ` Arnaldo Carvalho de Melo
2007-11-07 15:53 ` Arnaldo Carvalho de Melo [this message]
2007-11-07 16:16 ` Pavel Emelyanov
2007-11-07 16:26 ` Arnaldo Carvalho de Melo
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=20071107155301.GJ27345@ghostprotocols.net \
--to=acme@redhat.com \
--cc=davem@davemloft.net \
--cc=devel@openvz.org \
--cc=netdev@vger.kernel.org \
--cc=xemul@openvz.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.