From: SourceForge.net <no...@so...> - 2008-11-25 05:17:48
|
Patches item #1927751, was opened at 2008-03-28 15:44 Message generated for change (Comment added) made by mitsuru_chinen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1927751&group_id=12694 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Mitsuru Chinen (mitsuru_chinen) Assigned to: Nobody/Anonymous (nobody) Summary: Update icmpMsgStatsTable, Take IV Initial Comment: [Target Tree] 5.5dev tree only [Configuration] --enable-ipv6 [Test Enviroment] OpenSUSE 10.3 for i386 kernel: 2.6.24.2, libc: glibc-2.6.21-18.3, gcc: gcc-4.2-24 ==== This patch is an update patch of #1826783: Update icmpMsgStatsTable III The patch doesn't deal with the change of the content in proc file because of the method to read counters. For example, when reading icm6OutMsgs, snmpd picks the value from /proc/net/snmp6 by the following judgement. === linux_read_icmp6_parse() in kernel_linux.c === } else if ('M' == line[8]) { cached_icmp6_mib.icmp6OutMsgs = stats; } else if ('N' == line[8]) { === However, this judgement also picks new entry Icmp6InMLDv2Reports. Similar to this, the judgement for Icmp6OutMsgs picks Icmp6OutMLDv2Reports, the one for Icmp6OutTimeExcds hits Icmp6OutTypeX. Although it costs, it's better compare total string to correspond with the change of the kernel. ---------------------------------------------------------------------- >Comment By: Mitsuru Chinen (mitsuru_chinen) Date: 2008-11-25 14:17 Message: Updated the patch for rev 17310 on 2008/Nov/25. File Added: icmp_port_msg-svn17310.patch ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312694&aid=1927751&group_id=12694 |