[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)
commit17ab56a260734aabf7f03cc97785dda81571ea24
treed4d1ca98c62e0ae05156246c9cb2a7acf66e48e4
parente9671fcb3bef1fe2e71aa0456bd5b7eec9e8de4d
[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