[PATCH 2/2] IPV6: RFC 2011 compatibility broken

2008-01-21 Thread Wang Chen
[IPV6]: RFC 2011 compatibility broken

The snmp6 entry name was changed, and it broke compatibility
to RFC 2011.

Signed-off-by: Wang Chen [EMAIL PROTECTED]

--- linux-2.6.24.rc8.org/net/ipv6/proc.c2008-01-16 17:45:03.0 
+0800
+++ linux-2.6.24.rc8/net/ipv6/proc.c2008-01-21 15:48:52.0 +0800
@@ -88,7 +88,7 @@ static char *icmp6type2name[256] = {
[ICMPV6_PKT_TOOBIG] = PktTooBigs,
[ICMPV6_TIME_EXCEED] = TimeExcds,
[ICMPV6_PARAMPROB] = ParmProblems,
-   [ICMPV6_ECHO_REQUEST] = EchoRequest,
+   [ICMPV6_ECHO_REQUEST] = Echos,
[ICMPV6_ECHO_REPLY] = EchoReplies,
[ICMPV6_MGM_QUERY] = GroupMembQueries,
[ICMPV6_MGM_REPORT] = GroupMembResponses,
@@ -98,7 +98,7 @@ static char *icmp6type2name[256] = {
[NDISC_ROUTER_SOLICITATION] = RouterSolicits,
[NDISC_NEIGHBOUR_ADVERTISEMENT] = NeighborAdvertisements,
[NDISC_NEIGHBOUR_SOLICITATION] = NeighborSolicits,
-   [NDISC_REDIRECT] = NeighborRedirects,
+   [NDISC_REDIRECT] = Redirects,
 };
 
 


--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] IPV6: RFC 2011 compatibility broken

2008-01-21 Thread YOSHIFUJI Hideaki / 吉藤英明
In article [EMAIL PROTECTED] (at Mon, 21 Jan 2008 17:46:44 +0800), Wang Chen 
[EMAIL PROTECTED] says:

 The snmp6 entry name was changed, and it broke compatibility
 to RFC 2011.
 
 Signed-off-by: Wang Chen [EMAIL PROTECTED]
Acked-by: YOSHIFUJI Hideaki [EMAIL PROTECTED]

--yoshfuji
--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 2/2] IPV6: RFC 2011 compatibility broken

2008-01-21 Thread David Stevens
RFC 2011 doesn't apply to IPv6, and the internal names of /proc entries
are not used by the SNMP protocol, but it is an unintentional 
incompatibility with the
previous Linux entry names, so I agree. :-)

+-DLS

Acked-by: David L Stevens [EMAIL PROTECTED]

[EMAIL PROTECTED] wrote on 01/21/2008 01:46:44 AM:

 [IPV6]: RFC 2011 compatibility broken
 
 The snmp6 entry name was changed, and it broke compatibility
 to RFC 2011.
 
 Signed-off-by: Wang Chen [EMAIL PROTECTED]

--
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html