WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.1-testing] ioemu: ne2k buffer full bug fix, by Ma

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.1-testing] ioemu: ne2k buffer full bug fix, by Marcel Block.
From: "Xen patchbot-3.1-testing" <patchbot-3.1-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 01 Apr 2008 02:00:23 -0700
Delivery-date: Tue, 01 Apr 2008 02:00:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1206978084 -3600
# Node ID b7a6855a710ddcd6a5066d96fcb592c1f0fb576b
# Parent  e7d22393c76f10a959ccb5060d9c97746f4229b2
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 e7d22393c76f -r b7a6855a710d tools/ioemu/hw/ne2000.c
--- a/tools/ioemu/hw/ne2000.c   Fri Mar 28 18:00:02 2008 +0000
+++ b/tools/ioemu/hw/ne2000.c   Mon Mar 31 16:41:24 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.1-testing] ioemu: ne2k buffer full bug fix, by Marcel Block., Xen patchbot-3.1-testing <=