Date: 17 Jul 1998 10:01:09 +0200 From: smoergrd@oslo.geco-prakla.slb.com (Dag-Erling Coidan Smørgrav) To: Mike Smith <mike@smith.net.au> Cc: HAMADA Naoki <hamada@astec.co.jp>, sbabkin@dcn.att.com, hackers@FreeBSD.ORG Subject: Re: NIC drivers Message-ID: <rx4lnps9a9m.fsf@oslo.geco-prakla.slb.com> In-Reply-To: Mike Smith's message of Thu, 16 Jul 1998 13:21:14 -0700 References: <199807162021.NAA03930@antipodes.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith <mike@smith.net.au> writes: > If anyone has the chance to test this under -stable in the next few > days, please do so, as it'd be nice to have it in 2.2.7. Well, I don't have a -stable box right now, but from preliminary testing on my -current boxes, I'd recommend against it. I haven't had much time to track down the problem, but it would seem that a certain percentage of incoming packets go down a black hole. > > I carefully looked through the source code to find a bug which results > > mbuf leaks. Could you try this patch? > > > > -nao > > > > --- sys/i386/isa/if_ep.c- Wed Jul 15 15:40:09 1998 > > +++ sys/i386/isa/if_ep.c Wed Jul 15 15:41:04 1998 > > @@ -1128,8 +1128,7 @@ > > /* we see if by now, the packet has completly arrived */ > > goto read_again; > > } > > - outw(BASE + EP_COMMAND, SET_RX_EARLY_THRESH | RX_NEXT_EARLY_THRESH); > > - return; > > + goto out; > > } > > outw(BASE + EP_COMMAND, RX_DISCARD_TOP_PACK); > > ++ifp->if_ipackets; > > DES -- Dag-Erling Smørgrav - smoergrd@oslo.geco-prakla.slb.com 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?rx4lnps9a9m.fsf>