diff options
| author | Eric Dumazet <[email protected]> | 2008-11-19 22:25:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2008-11-19 22:25:35 +0000 |
| commit | 3680453c8be54fff0d23fdf33e8961a48e1f2cd6 (patch) | |
| tree | a51fe155df61483cb64255ed3cf58bb52b1daaff /net/unix/af_unix.c | |
| parent | Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne... (diff) | |
| download | kernel-3680453c8be54fff0d23fdf33e8961a48e1f2cd6.tar.gz kernel-3680453c8be54fff0d23fdf33e8961a48e1f2cd6.zip | |
net: af_packet should update its inuse counter
This patch is a preparation to namespace conversion of /proc/net/protocols
In order to have relevant information for PACKET protocols, we should use
sock_prot_inuse_add() to update a (percpu and pernamespace) counter of
inuse sockets.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
