Subject: PR/34751 CVS commit: [netbsd-3] src/sys/netinet
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Manuel Bouyer <bouyer@netbsd.org>
List: netbsd-bugs
Date: 11/11/2006 20:50:03
The following reply was made to PR kern/34751; it has been noted by GNATS.

From: Manuel Bouyer <bouyer@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/34751 CVS commit: [netbsd-3] src/sys/netinet
Date: Sat, 11 Nov 2006 20:48:34 +0000 (UTC)

 Module Name:	src
 Committed By:	bouyer
 Date:		Sat Nov 11 20:48:34 UTC 2006
 
 Modified Files:
 	src/sys/netinet [netbsd-3]: tcp_sack.c
 
 Log Message:
 Pull up following revision(s) (requested by reinoud in ticket #1561):
 	sys/netinet/tcp_sack.c: revision 1.20
 Fix alignment problems causing regular panics in tpc_sack_option on
 NetBSD/alpha and NetBSD/sparc. This fixes PR#34751.
 The problem most likely started to show in gcc4 and is caused by the use of
 a casting to an uint32_t pointer that is later copied from using memcpy.
 Gcc detects the copying of 4 bytes from an uint32_t pointer and decides to
 just replace it with an aligned copy causing the trap.
 Fix provided by Izumi Tsutsui and ok'd by Martin.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.10.2.3 -r1.10.2.4 src/sys/netinet/tcp_sack.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.