projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
687fa64
)
ne2k buffer full bug fix, by Marcel Block.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 2 Apr 2007 08:19:57 +0000
(08:19 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 2 Apr 2007 08:19:57 +0000
(08:19 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2581
c046a42c
-6fe2-441c-8c8c-
71466251a162
hw/ne2000.c
patch
|
blob
|
history
diff --git
a/hw/ne2000.c
b/hw/ne2000.c
index
a045a20
..
df3f3b5
100644
(file)
--- a/
hw/ne2000.c
+++ b/
hw/ne2000.c
@@
-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);