Subject: CVS commit: src/sys/dev/ieee1394
To: None <source-changes@netbsd.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 03/07/2003 18:29:35
Module Name:	src
Committed By:	drochner
Date:		Fri Mar  7 16:29:34 UTC 2003

Modified Files:
	src/sys/dev/ieee1394: sbp2.c

Log Message:
-Fix ORB queue corruption / use of free()d memory
 caused by bad interaction of sbp2_free() and sbp2_abort().
 sbp2_abort() requires that its argument ORB is on the
 "active" list, and it puts it onto the freelist - sometimes.
 So we had 2 causes of corruption:
 -removing the ORB from a list which it isn't on
 -free()ing recycleable items on the ORB freelist
-minor cosmetics


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/dev/ieee1394/sbp2.c

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