Subject: CVS commit: [netbsd-1-6] src/sys/dev/usb
To: None <source-changes@netbsd.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 01/02/2003 10:34:12
Module Name:	src
Committed By:	tron
Date:		Thu Jan  2 08:34:11 UTC 2003

Modified Files:
	src/sys/dev/usb [netbsd-1-6]: umass.c

Log Message:
Pull up revision 1.93 (requested by toshii in ticket #1054):
Assign NULL to sc_pipe after closing, so that usbd_close_pipe isn't
called twice.  At least in NetBSD, the detach function is called when the
device is removed, even if the attach function has failed.
This is probably the cause of panics reported in kern/19326.


To generate a diff of this commit:
cvs rdiff -r1.87 -r1.87.6.1 src/sys/dev/usb/umass.c

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