From owner-freebsd-bugs Wed Dec 12 14:20:44 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 33D6937B506 for ; Wed, 12 Dec 2001 14:20:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBCMK1M92677; Wed, 12 Dec 2001 14:20:01 -0800 (PST) (envelope-from gnats) Date: Wed, 12 Dec 2001 14:20:01 -0800 (PST) Message-Id: <200112122220.fBCMK1M92677@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Archie Cobbs Subject: Re: kern/30052: dc(4) driver queues outgoing pkts indefinitely if no link Reply-To: Archie Cobbs Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR kern/30052; it has been noted by GNATS. From: Archie Cobbs To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/30052: dc(4) driver queues outgoing pkts indefinitely if no link Date: Wed, 12 Dec 2001 14:14:53 -0800 Below is a patch which fixes this problem in a brute force way. (note: patch is cut&pasted) -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com --- pci/if_dc.c.orig Thu Aug 23 16:05:36 2001 +++ pci/if_dc.c Thu Aug 23 16:06:03 2001 @@ -2797,8 +2797,10 @@ sc = ifp->if_softc; +#if 0 if (!sc->dc_link && ifp->if_snd.ifq_len < 10) return; +#endif if (ifp->if_flags & IFF_OACTIVE) return; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message