Re: TAHI CN-6-4-1 failed on Linux 2.6.32 kernel
From: Steve Chen <hidden>
Date: 2010-08-16 14:07:30
On Fri, Aug 13, 2010 at 5:25 PM, Steve Chen [off-list ref] wrote:
On Fri, Aug 13, 2010 at 12:55 PM, Brian Haley [off-list ref] wrote:quoted
On 08/13/2010 01:34 PM, Steve Chen wrote:quoted
quoted
quoted
quoted
quoted
The TAHI correspondent node tests CN-6-4-1 (Processing in upper layer - Echo Checksum) failed for me in the 2.6.32 kernel. It appears that the Linux kernel is replying the ICMP echo request in icmpv6_echo_reply without much checking. Is this an intentional non-conformance to RFC3775 section 9.3.1?[snip]quoted
It appears that skb->ip_summed is always 1 (CHECKSUM_UNNECESSARY). I'm using e1000e. Looking at the driver, there is a checksum offload hardware. I think the code is doing frame check on the entire Ethernet packet. Since no error was found, it assume everything inside is correct.# ethtool -K ethX rx off Does that help? Does using a different NIC help?ethtool did not help. I tried to run the test with a different NIC, but I keep getting ... IPSEC_AKEY : -------------------- IPSEC_EALGO : --------- IPSEC_EKEY : ------------------------ IPSEC_SUPPORT : OFF RR_TIMEOUT : 3 TIMEOUT : 2 WAIT_RATELIMIT : 1 send Ra_R0_AllNd Wait 3 sec. Clear Captured Packets (Link0) Clear Captured Packets (Link0) send Ns_R0_AllNd ######### Packe Name(RH) Field Value(NextHeader) is NULL CNT_SendAndRecv Status=UnKnown NG UnKnown -> Initialization Fail ...
Brian, Oops, set the Link0 in nut.def to the wrong value. However, I'm still getting the same failure with different NIC. I'll start looking into the code. Please let me know your test results. Thanks, Steve