Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 21:06:01 -0700 (PDT)
From:      Mike Silbersack <silby@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_rl.c
Message-ID:  <200304150406.h3F4618W030999@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
silby       2003/04/14 21:06:01 PDT

  FreeBSD src repository

  Modified files:
    sys/pci              if_rl.c 
  Log:
  Rework the rl_encap failure case.  Previously, we would stuff the
  unencapsulated packet back into the IFQ.  Unfortunately, the only reason
  rl_encap would fail was due to m_defrag failing, which should only happen
  when we're low on mbufs.  Hence, it was possible for us to end up with
  an IFQ full of packets which could never clear the queue because they could
  never be defragmented because they were themselves taking up all the mbufs.
  
  To solve this, take if_xl's approach to the problem of encapsulation failure:
  drop the packet.
  
  MFC after:      3 days
  
  Revision  Changes    Path
  1.94      +3 -3      src/sys/pci/if_rl.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304150406.h3F4618W030999>