linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/ipv4/proc.c
@ 2004-08-16 19:20 Cal Peake
  2004-08-16 21:22 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Cal Peake @ 2004-08-16 19:20 UTC (permalink / raw)
  To: Kernel Mailing List; +Cc: Linus Torvalds

[-- Attachment #1: Type: TEXT/PLAIN, Size: 232 bytes --]

Hi,

Between 2.6.8-rc2-bk1 and 2.6.8-rc2-bk2 net/ipv4/proc.c was updated to use 
a new mechanism for outputting /proc/net/snmp and /proc/net/netstat. The 
small patch attached fixes a problem when doing `netstat -s`

cheers,

-- Cal

[-- Attachment #2: patch --]
[-- Type: TEXT/PLAIN, Size: 423 bytes --]

diff -Nurd linux-2.6.8.1/net/ipv4/proc.c linux-2.6.8.1-1/net/ipv4/proc.c
--- linux-2.6.8.1/net/ipv4/proc.c	2004-08-14 06:54:47.000000000 -0400
+++ linux-2.6.8.1-1/net/ipv4/proc.c	2004-08-16 14:59:04.000000000 -0400
@@ -330,7 +330,7 @@
 {
 	int i;
 
-	seq_puts(seq, "\nTcpExt:");
+	seq_puts(seq, "TcpExt:");
 	for (i = 0; snmp4_net_list[i].name != NULL; i++)
 		seq_printf(seq, " %s", snmp4_net_list[i].name);
 

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

* Re: [PATCH] net/ipv4/proc.c
  2004-08-16 19:20 [PATCH] net/ipv4/proc.c Cal Peake
@ 2004-08-16 21:22 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2004-08-16 21:22 UTC (permalink / raw)
  To: Cal Peake; +Cc: linux-kernel, torvalds

On Mon, 16 Aug 2004 15:20:18 -0400 (EDT)
Cal Peake <cp@absolutedigital.net> wrote:

> Between 2.6.8-rc2-bk1 and 2.6.8-rc2-bk2 net/ipv4/proc.c was updated to use 
> a new mechanism for outputting /proc/net/snmp and /proc/net/netstat. The 
> small patch attached fixes a problem when doing `netstat -s`

Good catch, patch applied thanks Cal.

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

end of thread, other threads:[~2004-08-16 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-16 19:20 [PATCH] net/ipv4/proc.c Cal Peake
2004-08-16 21:22 ` David S. Miller

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).