net: af_netlink should update its inuse counter
authorEric Dumazet <dada1@cosmosbay.com>
Sun, 23 Nov 2008 23:48:22 +0000 (15:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Nov 2008 23:48:22 +0000 (15:48 -0800)
In order to have relevant information for NETLINK protocol, in
/proc/net/protocols, we should use sock_prot_inuse_add() to
update a (percpu and pernamespace) counter of inuse sockets.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found