[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <492142DD.2030906@cosmosbay.com>
Date: Mon, 17 Nov 2008 11:09:33 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>
CC: Linux Netdev List <netdev@...r.kernel.org>
Subject: [PATCH] net: af_unix should update its inuse counter
This patch is a preparation to namespace conversion of /proc/net/protocols
In order to have relevant information for UNIX protocol, we should use
sock_prot_inuse_add() to update a (percpu and pernamespace) counter of
inuse sockets.
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
---
net/unix/af_unix.c | 4 ++++
1 files changed, 4 insertions(+)
View attachment "af_unix_inuse.patch" of type "text/plain" (680 bytes)
Powered by blists - more mailing lists