On Tue, Jul 18, 2006 at 09:09:34AM +0800, Wei Yongjun wrote: > > And in my test, UDP under IPv4 maybe do that. > My UDP packet is: > > packet1: > ___________________________________ > | Source Port | Dest Port | > |_________________|_________________| > | Length = 16 | Checksum(*1) | > |_________________|_________________| > | payload24 | > |__________________________________|
The whole point of CHECKSUM_UNNECESSARY is that the hardware parses the protocol header for us. So in this case it must calculate the checksum for only the first 8 bytes of the payload. If it does this incorrectly, then it doesn't support RX checksums at all. Which NIC is doing this BTW? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt - 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