Source-Changes archive

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

CVS commit: src/sys/netinet6



Module Name:    src
Committed By:   yamt
Date:           Mon Mar 10 22:29:14 UTC 2008

Modified Files:
        src/sys/netinet6: in6_cksum.c

Log Message:
in6_cksum: avoid using -> operator and use (char *) arithmetics instead.
reviewed by Joerg Sonnenberger.  he pointed out that the original code
was written that way so that the compiler will explicitly not assume that
the alignment of the data is correct.  although i don't know if it really
matters or not, being safer is not a problem.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/sys/netinet6/in6_cksum.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index