[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] ioemu: ne2k buffer full bug fix, by Marcel Block.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1206703031 0 # Node ID d686808b316903120473833738957c049765f49c # Parent abae878a65f47deca68189c719fca5506326cda1 ioemu: ne2k buffer full bug fix, by Marcel Block. Backport from qemu upstream. Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> --- tools/ioemu/hw/ne2000.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r abae878a65f4 -r d686808b3169 tools/ioemu/hw/ne2000.c --- a/tools/ioemu/hw/ne2000.c Fri Mar 28 11:15:43 2008 +0000 +++ b/tools/ioemu/hw/ne2000.c Fri Mar 28 11:17:11 2008 +0000 @@ -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); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |