[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <492149F6.5060805@cosmosbay.com>
Date: Mon, 17 Nov 2008 11:39:50 +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: sctp should update its inuse counter
This patch is a preparation to namespace conversion of /proc/net/protocols
In order to have relevant information for SCTP protocols, 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/sctp/socket.c | 2 ++
1 files changed, 2 insertions(+)
View attachment "sctp_inuse.patch" of type "text/plain" (606 bytes)
Powered by blists - more mailing lists