From owner-cvs-src@FreeBSD.ORG Mon Jun 23 16:48:25 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 3CEE437B404; Mon, 23 Jun 2003 16:48:25 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B13543F3F; Mon, 23 Jun 2003 16:48:17 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange.errno.com (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h5NNmF7N088303 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Mon, 23 Jun 2003 16:48:17 -0700 (PDT) (envelope-from sam@errno.com) Date: Mon, 23 Jun 2003 16:48:15 -0700 From: Sam Leffler To: Nate Lawson , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Message-ID: <8618913.1056386895@melange.errno.com> In-Reply-To: <200306232323.h5NNNnJZ092748@repoman.freebsd.org> References: <200306232323.h5NNNnJZ092748@repoman.freebsd.org> X-Mailer: Mulberry/3.1.0b1 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.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: Mon, 23 Jun 2003 23:48:25 -0000 I believe this also makes things work for bridging (and other similar "middle ware" which may cause start to be entered directly from a recv. However my approach to dealing with this problem in other drivers was to use two different locks, one for the xmit side and one for the recv side. I'm not certain what I've done handles everything but it certainly eliminates the up-down locking per-packet that's required if you stick to one lock. Sam