diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-09-12 05:44:53 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-09-12 05:44:53 +0000 |
commit | fcc47202f5d3d5d3ef284f8d41d06388bde878bf (patch) | |
tree | 2f6610bdc4790b2c31a5aee7acc587113f245a05 /etc/ppp | |
parent | a2d95e6557731aaf8e630c313c9d3a8f14a669d9 (diff) |
Some fixes for dc_txeof()..
- Don't reload the watchdog timer in case there are still unhandled
descriptors.
- Don't clear IFF_OACTIVE unless there are at least 6 free TX
descriptors. The function dc_encap() will bail if there are
only 5 or fewer free TX descriptors, causing dc_start() to
abort so it makes no sense to pretend we could process mbufs
again when in fact we can't.
- Always assign idx to sc->dc_cdata.dc_tx_cons; it doesn't make
much sense to exclude the idx == sc->dc_cdata.dc_tx_cons case.
From FreeBSD
Diffstat (limited to 'etc/ppp')
0 files changed, 0 insertions, 0 deletions