diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-11-23 15:48:22 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-23 15:48:22 -0800 |
commit | c1fd3b9455a977057f73534324d4e07a3d9fe502 (patch) | |
tree | d145a2db2a6195666cf89ff92563de5613847ec9 /samples | |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions