From owner-cvs-all Mon Oct 9 12:54:58 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 600A337B502; Mon, 9 Oct 2000 12:54:56 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA08746; Mon, 9 Oct 2000 12:54:56 -0700 (PDT) (envelope-from gibbs@FreeBSD.org) Message-Id: <200010091954.MAA08746@freefall.freebsd.org> From: "Justin T. Gibbs" Date: Mon, 9 Oct 2000 12:54:56 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/aic7xxx aic7xxx_freebsd.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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