diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2011-08-08 01:30:26 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2011-08-08 01:30:26 +0000 |
commit | 4e196c5605384684fba9645e77691aebceee1f56 (patch) | |
tree | 9614b2dca3d3b322686f2460ca7b7d047d148f3b /usr.bin/whois | |
parent | 529a8d9b926cbb89a03affe7ffa00d67eaff6747 (diff) |
myx requires the driver pad short ethernet frames to 60 bytes by
adding a descriptor pointing at zeroed bytes onto the end of transmit
chains. i was accounting for this extra descriptor when i was
completing the chain, but not when i was setting this up. this
meant the number of free descriptors kept growing until it overflowed.
at this point the check for space in the ring failed and packets
no longer flowed.
this counts the pad descriptor in the tx chain setup too.
ok deraadt@
Diffstat (limited to 'usr.bin/whois')
0 files changed, 0 insertions, 0 deletions