]> git.baikalelectronics.ru Git - kernel.git/commit
[PACKET]: Use existing sock refcnt debugging infrastructure
authorPavel Emelyanov <xemul@openvz.org>
Sun, 11 Nov 2007 05:38:48 +0000 (21:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Nov 2007 05:38:48 +0000 (21:38 -0800)
commitb399d54a9d20a64eee8d97c225e227fff529a994
treed4d1ca98c62e0ae05156246c9cb2a7acf66e48e4
parent62ef0be776393fb3017d2a139b76c1c37c0be70d
[PACKET]: Use existing sock refcnt debugging infrastructure

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 <xemul@openvz.org>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/packet/af_packet.c