netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat
@ 2006-01-16 20:04 Andy Gospodarek
  2006-01-16 20:14 ` Lee Revell
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Gospodarek @ 2006-01-16 20:04 UTC (permalink / raw)
  To: linux-kernel, netdev, davem

Printing the total number of sockets used in /proc/net/sockstat is out
of place in a file that is supposed to contain information related to
ipv4 sockets.  Removed output for total socket usage.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
---

 proc.c |    1 -
 1 files changed, 1 deletion(-)


diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -60,7 +60,6 @@ static int fold_prot_inuse(struct proto 
  */
 static int sockstat_seq_show(struct seq_file *seq, void *v)
 {
-	socket_seq_show(seq);
 	seq_printf(seq, "TCP: inuse %d orphan %d tw %d alloc %d mem %d\n",
 		   fold_prot_inuse(&tcp_prot), atomic_read(&tcp_orphan_count),
 		   tcp_death_row.tw_count, atomic_read(&tcp_sockets_allocated),

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-01-17  1:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 20:04 [patch] networking ipv4: remove total socket usage count from /proc/net/sockstat Andy Gospodarek
2006-01-16 20:14 ` Lee Revell
2006-01-16 20:25   ` Andy Gospodarek
2006-01-16 20:35     ` Jesper Juhl
2006-01-16 20:55       ` Andy Gospodarek
2006-01-16 21:08         ` Jesper Juhl
2006-01-16 22:33           ` Andy Gospodarek
2006-01-17  1:18             ` YOSHIFUJI Hideaki / 吉藤英明

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).