Re: [PATCH][PACKET] Use existing sock refcnt debugging infrastructure

2007-11-10 Thread David Miller
From: Arnaldo Carvalho de Melo [EMAIL PROTECTED] Date: Fri, 9 Nov 2007 12:37:42 -0200 Em Fri, Nov 09, 2007 at 04:39:41PM +0300, Pavel Emelyanov escreveu: The packet_socks_nr variable is used purely for debugging the number of sockets. As Arnaldo pointed out, there's already an

[PATCH][PACKET] Use existing sock refcnt debugging infrastructure

2007-11-09 Thread Pavel Emelyanov
The packet_socks_nr variable is used purely for debugging the number of sockets. As Arnaldo pointed out, there's already an infrastructure for this purposes, so switch to using it. Signed-off-by: Pavel Emelyanov [EMAIL PROTECTED] --- diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c

Re: [PATCH][PACKET] Use existing sock refcnt debugging infrastructure

2007-11-09 Thread Arnaldo Carvalho de Melo
Em Fri, Nov 09, 2007 at 04:39:41PM +0300, Pavel Emelyanov escreveu: The packet_socks_nr variable is used purely for debugging the number of sockets. As Arnaldo pointed out, there's already an infrastructure for this purposes, so switch to using it. Signed-off-by: Pavel Emelyanov [EMAIL