Date: Mon, 23 Jun 2003 16:48:15 -0700 From: Sam Leffler <sam@errno.com> To: Nate Lawson <njl@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c Message-ID: <8618913.1056386895@melange.errno.com> In-Reply-To: <200306232323.h5NNNnJZ092748@repoman.freebsd.org> References: <200306232323.h5NNNnJZ092748@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8618913.1056386895>