Subject: CVS commit: [netbsd-3] src/sys
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 12/02/2006 13:07:43
Module Name:	src
Committed By:	bouyer
Date:		Sat Dec  2 13:07:43 UTC 2006

Modified Files:
	src/sys/net [netbsd-3]: if_ethersubr.c
	src/sys/netiso [netbsd-3]: clnp_input.c

Log Message:
Pull up following revision(s) (requested by is in ticket #1597):
	sys/net/if_ethersubr.c: revision 1.139 via patch
	sys/netiso/clnp_input.c: revision 1.31
Remove an overlapping struct copy from ether_input, which caused address
corruption for incoming netiso packets with recent (at least NetBSD-3 and
later) compilers. This is done in a way that the copy is avoided totally.
Code path tested with tcp+udp/ipv4+ipv6, arp and ISO cltp/clnp.
Visually ok'd by Christos@.


To generate a diff of this commit:
cvs rdiff -r1.120 -r1.120.2.1 src/sys/net/if_ethersubr.c
cvs rdiff -r1.29 -r1.29.10.1 src/sys/netiso/clnp_input.c

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