Date: Thu, 18 Sep 2003 11:32:16 -0700 (PDT) From: Bill Paul <wpaul@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/re if_re.c Message-ID: <200309181832.h8IIWGl1076556@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 2003/09/18 11:32:16 PDT FreeBSD src repository Modified files: sys/dev/re if_re.c Log: In re_diag(), there's no need for us to call re_start() ourselves: IF_HANDOFF() does it for us behind the scenes. Remove the extra call to re_start() otherwise we try to transmit twice. In re_encap(), fix the code that guards against consuming too many descriptors in the TX ring so that it actually works. With the new 8169S chip, I was able to hit a corner case that drained the free descriptor count all the way to 0. This is not supposed to be possible. Revision Changes Path 1.8 +8 -4 src/sys/dev/re/if_re.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309181832.h8IIWGl1076556>