summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cvs/src
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2008-09-12 05:44:52 +0000
committerbrad <brad@openbsd.org>2008-09-12 05:44:52 +0000
commit0027ee493b98fb58ac4de4b55da896e238b4c5a8 (patch)
tree09f5282a4e212f1bd5cd921509dffaac2149e710 /gnu/usr.bin/cvs/src
parentthe last example doesn't need a ctx variable; (diff)
downloadwireguard-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