提交 f815fa45 编写于 作者: B bellard

ne2000 buffer fulness fix (Han Zhu)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1924 c046a42c-6fe2-441c-8c8c-71466251a162
上级 3512779a
......@@ -206,7 +206,7 @@ static int ne2000_buffer_full(NE2000State *s)
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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册