Date: Mon, 9 Oct 2000 12:54:56 -0700 (PDT) From: "Justin T. Gibbs" <gibbs@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx_freebsd.c Message-ID: <200010091954.MAA08746@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
gibbs 2000/10/09 12:54:55 PDT
Modified files:
sys/dev/aic7xxx aic7xxx_freebsd.c
Log:
Close a race condition that doesn't really exist in -current. When
a resource shortage occurs, freeze our queue and then set the resource
shortage flag while the controller data structure is locked. The old
code did these in the wrong order potentially allowing our interrupt
handler to release the queue and clear the flag before the freeze
ever occurred.
Revision Changes Path
1.10 +2 -2 src/sys/dev/aic7xxx/aic7xxx_freebsd.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010091954.MAA08746>
