in myx_start, replace
authordlg <dlg@openbsd.org>
Tue, 19 Aug 2014 11:13:16 +0000 (11:13 +0000)
committerdlg <dlg@openbsd.org>
Tue, 19 Aug 2014 11:13:16 +0000 (11:13 +0000)
commit8aa24c3ba2e77c27de725e550b7b6362c8677b51
treecf60ed6156bcef43df3b50717e65cc3a88832aa2
parent0234691abb87288f099114a76a3691edb0404a34
in myx_start, replace

while (space) {
IFQ_POLL;
myx_dequeue(free descr);
IFQ_DEQUEUE;
etc;
}

with

while (space && myx_dequeue(free descr)) {
IFQ_DEQUEUE;
etc;
}
sys/dev/pci/if_myx.c