Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Ignatios Souvatzis <is@netbsd.org>
List: source-changes
Date: 12/01/2006 18:43:41
Module Name:	src
Committed By:	is
Date:		Fri Dec  1 18:43:41 UTC 2006

Modified Files:
	src/sys/net: if_ethersubr.c
	src/sys/netiso: clnp_input.c

Log Message:
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.138 -r1.139 src/sys/net/if_ethersubr.c
cvs rdiff -r1.30 -r1.31 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.