diff options
author | harti <harti@FreeBSD.org> | 2003-10-27 16:21:59 +0000 |
---|---|---|
committer | harti <harti@FreeBSD.org> | 2003-10-27 16:21:59 +0000 |
commit | 9a473fa2fc80e66c80bc58683fb874c7991addbb (patch) | |
tree | 6fa9229a3ac9567ecab95369b1ead88f5b222526 /sys/boot/forth | |
parent | 6ff074e438909e1d3d6d49fb7f76772bf682e713 (diff) | |
download | FreeBSD-src-9a473fa2fc80e66c80bc58683fb874c7991addbb.zip FreeBSD-src-9a473fa2fc80e66c80bc58683fb874c7991addbb.tar.gz |
When we cannot allocate an external buffer (bacause we've hit
the maximum number of pages for buffers) return -1 instead of 0.
This fixes a panic under conditions when many mbufs are needed.
Update the head pointer of the receive buffer pool queue even when
we could not supply a buffer to the chip. Otherwise the chip will
not re-interrupt us for another try. A better strategy would probably
be to remember this condition and to supply buffers without an interrupt
as soon as buffers get available.
Diffstat (limited to 'sys/boot/forth')
0 files changed, 0 insertions, 0 deletions