summaryrefslogtreecommitdiff
path: root/libexec/spamd-setup
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-09-12 05:44:53 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-09-12 05:44:53 +0000
commitfcc47202f5d3d5d3ef284f8d41d06388bde878bf (patch)
tree2f6610bdc4790b2c31a5aee7acc587113f245a05 /libexec/spamd-setup
parenta2d95e6557731aaf8e630c313c9d3a8f14a669d9 (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 'libexec/spamd-setup')
0 files changed, 0 insertions, 0 deletions