Re: [IPV6] RAW: Add checksum default defines for MH.
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2007-01-24 07:04:30
From: YOSHIFUJI Hideaki / 吉藤英明 <hidden>
Date: 2007-01-24 07:04:30
In article [ref] (at Wed, 24 Jan 2007 17:56:23 +1100), Herbert Xu [off-list ref] says:
David Miller [off-list ref] wrote:quoted
Did a complete agreement occur that this patch is ok?My only concern is that we're putting an arbitrary list of protocols in the generic raw.c. What's the justification for including these protocols in particular but not others? Is there any reason why the application can't just use the existing IPV6_CHECKSUM socket option to set the same fields?
Yes, it can. The only reason they (not myself :-)) want to put this in is because the RFC says that MIP6 implementation MUST compute checksum by default when it passes the MH to userspace. On the other hand, it also states that user space application SHOULD set IPV6_CHECKSUM to 4. --yoshfuji