cvs commit: src/sys/pci if_rl.c
Mike Silbersack
silby at FreeBSD.org
Mon Apr 14 21:06:03 PDT 2003
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
More information about the cvs-all
mailing list