From owner-cvs-src@FreeBSD.ORG Thu Jun 26 07:43:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D0EA37B401; Thu, 26 Jun 2003 07:43:34 -0700 (PDT) Received: from brian.webcom.it (brianlap.inet.it [213.92.1.190]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4424C43F75; Thu, 26 Jun 2003 07:43:32 -0700 (PDT) (envelope-from andrea@webcom.it) Received: by brian.webcom.it (Postfix, from userid 1000) id 388E48E; Thu, 26 Jun 2003 16:43:30 +0200 (CEST) Date: Thu, 26 Jun 2003 16:43:30 +0200 From: Andrea Campi To: Maxime Henrion , Nate Lawson , Warner Losh Message-ID: <20030626144329.GA661@webcom.it> References: <200306261327.h5QDRiuh072340@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306261327.h5QDRiuh072340@repoman.freebsd.org> X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike User-Agent: Mutt/1.5.4i cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ep if_ep.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 14:43:34 -0000 On Thu, Jun 26, 2003 at 06:27:44AM -0700, Maxime Henrion wrote: > Modified files: > sys/dev/ep if_ep.c > Log: > Fix a race condition that was introduced since pccbb interrupts are > flag'ed INTR_MPSAFE. In ep_if_start(), use the IF_DEQUEUE macro to > grab the next mbuf to send, and use IF_PREPEND if the card is busy > and we actually can't handle it right now. This commit fixed the issue I saw after pccbb interrupts became INTR_MPSAFE. Thanks Maxime! Bye, Andrea -- Speak softly and carry a cellular phone.