diff -r e7abfeee2808 tools/ioemu/hw/ne2000.c --- a/tools/ioemu/hw/ne2000.c Thu Mar 27 17:25:22 2008 +0000 +++ b/tools/ioemu/hw/ne2000.c Fri Mar 28 13:42:44 2008 +0100 @@ -207,7 +207,7 @@ static int ne2000_buffer_full(NE2000Stat index = s->curpag << 8; boundary = s->boundary << 8; - if (index <= boundary) + if (index < boundary) avail = boundary - index; else avail = (s->stop - s->start) - (index - boundary);