Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 05/10/2006 21:31:49
Module Name:	src
Committed By:	bouyer
Date:		Wed May 10 21:31:49 UTC 2006

Modified Files:
	src/sys/arch/xen/xen: xbd_xenbus.c

Log Message:
Fix NULL pointer deref when a backend switches to closing without
have been connected.
Make sure we connect only once; avoid getting disk attached multiple times
when there are multiple block devices configured (the xenbus seems to call
the callbacks for all xbd when each of them comes up).


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/arch/xen/xen/xbd_xenbus.c

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