cvs commit: src/sys/dev/re if_re.c

Bill Paul wpaul at FreeBSD.org
Thu Sep 18 11:32:17 PDT 2003


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


More information about the cvs-src mailing list