Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 09:48:33 -0700 (MST)
From:      "M. Warner Losh" <imp@village.org>
To:        jhanna@shaw.ca
Cc:        vs3volod@yahoo.com, hackers@FreeBSD.ORG
Subject:   Re: ping: sendto: No buffer space available
Message-ID:  <20020212.094833.98091872.imp@village.org>
In-Reply-To: <200202092056.g19Ku8j00368@207-194-143-195.dsl.axion.net>
References:  <86aduisa17.fsf@f434.n5020.z2.fidonet.org> <200202092056.g19Ku8j00368@207-194-143-195.dsl.axion.net>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200202092056.g19Ku8j00368@207-194-143-195.dsl.axion.net>
            Jonathan Hanna <jhanna@shaw.ca> writes:
: 
: This looks like the bug in the "ep" driver. When the interrupt routine
: gets both TX and RX interrupts it acknowledges both but only services
: the read. Karl Dietz, <Karl.Dietz@TRIPLAN.com> is working on an overhaul
: but my quick fix is to take out the "continue" after the "epread()" in
: ep_intr(). The buffer talked about is actually the ep queue being full.
: 
: --- if_ep.c     Fri Feb  1 19:51:43 2002
: +++ if_ep.c.fix Sat Feb  9 12:49:31 2002
: @@ -571,7 +571,6 @@
:  
:         if (status & (S_RX_COMPLETE | S_RX_EARLY)) {
:             epread(sc);
: -           continue;
:         }
:         if (status & S_TX_AVAIL) {
:             /* we need ACK */

Committed this, and a couple other touch-ups to current.

Warner

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020212.094833.98091872.imp>