commit | c1fd3b9455a977057f73534324d4e07a3d9fe502 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <dada1@cosmosbay.com> | Sun Nov 23 15:48:22 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 23 15:48:22 2008 -0800 |
tree | d145a2db2a6195666cf89ff92563de5613847ec9 | |
parent | 04f258ce7f085dd69422fa01d41c8f0194a0e270 [diff] |
net: af_netlink should update its inuse counter 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>