Subject: CVS commit: syssrc/sys/kern
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 02/09/2002 03:00:10
Module Name:	syssrc
Committed By:	bouyer
Date:		Sat Feb  9 01:00:10 UTC 2002

Modified Files:
	syssrc/sys/kern: subr_extent.c

Log Message:
extent_alloc_subregion1(): when a candidate region doesn't fit after being
rounded up to respect boundary limits, adjust newstart and last before
skiping to the next region. Otherwise we may check the same candidate
region against the start of the next region, no the one immediatly following
the hole, leading to corrupted map.

This fixes the panic seen on sparc64 with scsi drivers, and probably fixes
PR 15489.


To generate a diff of this commit:
cvs rdiff -r1.44 -r1.45 syssrc/sys/kern/subr_extent.c

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