[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <OF3783F25C.645FCABB-ON88257383.00729813-88257383.0072C869@us.ibm.com>
Date: Mon, 29 Oct 2007 13:54:50 -0700
From: David Stevens <dlstevens@...ibm.com>
To: davem@...emloft.com
Cc: netdev@...r.kernel.org
Subject: Fw: [PATCH] [IPv4] SNMP: Refer correct memory location to display ICMP
out-going statistics
Dave,
I didn't see a response for this one... in case it fell through
the
cracks. Just want to make sure my bone-headed error doesn't hang
around too long. :-)
+-DLS
----- Forwarded by David Stevens/Beaverton/IBM on 10/29/2007 01:51 PM
-----
Mitsuru Chinen <mitch@...ux.vnet.ibm.com>
Sent by: netdev-owner@...r.kernel.org
10/25/2007 06:59 PM
To
netdev@...r.kernel.org
cc
David Stevens/Beaverton/IBM@...US
Subject
[PATCH] [IPv4] SNMP: Refer correct memory location to display ICMP
out-going statistics
While displaying ICMP out-going statistics as Out<name> counters in
/proc/net/snmp, the memory location for ICMP in-coming statistics
was referred by mistake.
Acked-by: David L Stevens <dlstevens@...ibm.com>
Signed-off-by: Mitsuru Chinen <mitch@...ux.vnet.ibm.com>
---
net/ipv4/proc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index fd16cb8..b7f7f8a 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -312,7 +312,7 @@ static void icmp_put(struct seq_file *seq)
for (i=0; icmpmibmap[i].name != NULL; i++)
seq_printf(seq, " %lu",
snmp_fold_field((void **)
icmpmsg_statistics,
- icmpmibmap[i].index));
+ icmpmibmap[i].index | 0x100));
}
/*
--
1.5.3.4
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists