Date: Thu, 21 May 2009 13:22:07 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_conf.c Message-ID: <200905211322.n4LDMJG2001955@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2009-05-21 13:22:07 UTC FreeBSD src repository Modified files: sys/kern kern_conf.c Log: SVN rev 192535 on 2009-05-21 13:22:07Z by attilio Move the M_WAITOK flag in notify() into an M_NOWAIT one in order to match the behaviour alredy present with the further malloc() call in devctl_notify(). This fixes a bug in the CAM layer where the camisr handler finished to call camperiphfree() (and subsequently destroy_dev() resulting in a new dev notify) while the xpt lock is held. PR: kern/130330 Tested by: Riccardo Torrini <riccardo dot torrini at esaote dot com> Revision Changes Path 1.230 +3 -1 src/sys/kern/kern_conf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905211322.n4LDMJG2001955>