Commit:     064f3605be6b9b77151274f60693843cabaa09ec
Parent:     bf3c23d171e35e6e168074a1514b0acd59cfd81a
Author:     Mitsuru Chinen <[EMAIL PROTECTED]>
AuthorDate: Mon Oct 29 22:02:57 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Oct 29 22:37:36 2007 -0700

    [IPv4] SNMP: Refer correct memory location to display ICMP out-going 
    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.
    Signed-off-by: Mitsuru Chinen <[EMAIL PROTECTED]>
    Acked-by: David L Stevens <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 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 9be0daa..ffdccc0 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -304,7 +304,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));
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to