Date: Wed, 12 Dec 2001 14:20:01 -0800 (PST) From: Archie Cobbs <archie@packetdesign.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/30052: dc(4) driver queues outgoing pkts indefinitely if no link Message-ID: <200112122220.fBCMK1M92677@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/30052; it has been noted by GNATS. From: Archie Cobbs <archie@packetdesign.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112122220.fBCMK1M92677>