[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] ioemu: ne2k buffer full bug fix, by Marcel Block.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1206977987 -3600 # Node ID d8b4af5bde97b6e6058d28b34233fd2b2e9703c9 # Parent 53ba4903170f9d5ca30ca1c46373610981fc757c ioemu: ne2k buffer full bug fix, by Marcel Block. Backport from qemu upstream. Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx> xen-unstable changeset: 17317:d686808b316903120473833738957c049765f49c xen-unstable date: Fri Mar 28 11:17:11 2008 +0000 --- tools/ioemu/hw/ne2000.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 53ba4903170f -r d8b4af5bde97 tools/ioemu/hw/ne2000.c --- a/tools/ioemu/hw/ne2000.c Mon Mar 31 16:39:19 2008 +0100 +++ b/tools/ioemu/hw/ne2000.c Mon Mar 31 16:39:47 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); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |