[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <49214C1F.2060000@cosmosbay.com>
Date: Mon, 17 Nov 2008 11:49:03 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: [PATCH] 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 <dada1@...mosbay.com>
---
View attachment "af_packet_inuse.patch" of type "text/plain" (674 bytes)
Powered by blists - more mailing lists