diff options
author | 2008-09-12 05:44:52 +0000 | |
---|---|---|
committer | 2008-09-12 05:44:52 +0000 | |
commit | 0027ee493b98fb58ac4de4b55da896e238b4c5a8 (patch) | |
tree | 09f5282a4e212f1bd5cd921509dffaac2149e710 /gnu/usr.bin/cvs/src | |
parent | the last example doesn't need a ctx variable; (diff) | |
download | wireguard-openbsd-0027ee493b98fb58ac4de4b55da896e238b4c5a8.tar.xz wireguard-openbsd-0027ee493b98fb58ac4de4b55da896e238b4c5a8.zip |
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 'gnu/usr.bin/cvs/src')
0 files changed, 0 insertions, 0 deletions