[Devel] Re: [PATCH][PACKET] Remove unneeded packet_socks_nr variable
Arnaldo Carvalho de Melo
acme at redhat.com
Wed Nov 7 07:50:04 PST 2007
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 at 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 :-)
- Arnaldo
More information about the Devel
mailing list