Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/netinet6



> On Sun, Mar 09, 2008 at 10:05:50PM +0000, YAMAMOTO Takashi wrote:
> > Log Message:
> > in6_cksum: constify
> 
> I disagree with the offsetof part of the change. The original statement
> was written that way so that the compiler will explicitly *not* assume
> that the alignment of the data is correct.
> 
> Joerg

do you mean the use of ->ip6_src can make the compiler
believe uint32_t alignment?

YAMAMOTO Takashi


Home | Main Index | Thread Index | Old Index