Subject: PR/36716 CVS commit: src/sys/dev/scsipi
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Stephen M. Rumble <rumble@netbsd.org>
List: netbsd-bugs
Date: 08/04/2007 03:00:05
The following reply was made to PR kern/36716; it has been noted by GNATS.

From: "Stephen M. Rumble" <rumble@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36716 CVS commit: src/sys/dev/scsipi
Date: Sat,  4 Aug 2007 02:58:59 +0000 (UTC)

 Module Name:	src
 Committed By:	rumble
 Date:		Sat Aug  4 02:58:59 UTC 2007
 
 Modified Files:
 	src/sys/dev/scsipi: cd.c
 
 Log Message:
 Be sure not to make requests over MAXPHYS when employing bounce buffers.
 It was previously possible to round up one sector length if the start block
 were not properly aligned.
 
 Resolves PR kern/36716. This may also fix the following reported issues
 on port-sgimips:
     http://mail-index.netbsd.org/port-sgimips/2005/09/12/0000.html
     http://mail-index.netbsd.org/port-sgimips/2005/09/14/0000.html
 
 While here, be sure to put back allocated bufs, which previously appear
 to have been leaked. Further, remove the dead write bounce code which never
 got executed anyway.
 
 No complaints on tech-kern.
 
 
 To generate a diff of this commit:
 cvs rdiff -r1.267 -r1.268 src/sys/dev/scsipi/cd.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.