Subject: CVS commit: [netbsd-4] src/sys/dist/ipf/netinet
To: None <source-changes@NetBSD.org>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: source-changes
Date: 07/21/2007 12:56:46
Module Name:	src
Committed By:	liamjfoy
Date:		Sat Jul 21 12:56:46 UTC 2007

Modified Files:
	src/sys/dist/ipf/netinet [netbsd-4]: fil.c ip_fil.h

Log Message:
Pull up following revision(s) (requested by gdt in ticket #779):
	sys/dist/ipf/netinet/fil.c: revision 1.39
	sys/dist/ipf/netinet/ip_fil.h: revision 1.14
Avoid casting to "i6addr_t *", because that type requires 64-bit
alignment and nothing guarantees that IPv6 packets in mbufs are 8-byte
aligned.  gcc was coalescing adjacent 32-bit compares into "ldx" on
sparc64, leading to alignment faults when processing icmp6 arriving on
gif with IPv4 outer addresses.
Fix mostly from darrenr@.  Discussed extensively on port-sparc64.


To generate a diff of this commit:
cvs rdiff -r1.28.2.6 -r1.28.2.7 src/sys/dist/ipf/netinet/fil.c
cvs rdiff -r1.6.12.4 -r1.6.12.5 src/sys/dist/ipf/netinet/ip_fil.h

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