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] [linux-2.6.18-xen] netback: Fix BUG_ON() on page-flip re

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] netback: Fix BUG_ON() on page-flip receive path which would always
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 05 Feb 2008 11:10:32 -0800
Delivery-date: Tue, 05 Feb 2008 11:10:44 -0800
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 1202205919 0
# Node ID f85259abcddf3da59752e8032c4ea557243b97cd
# Parent  369b676a32439c947a604323b5b3db6007ffedd2
netback: Fix BUG_ON() on page-flip receive path which would always
trigger and crash the kernbel.
Tracked down by Joakim Dahlstedt <jda@xxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 drivers/xen/netback/netback.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 369b676a3243 -r f85259abcddf drivers/xen/netback/netback.c
--- a/drivers/xen/netback/netback.c     Mon Feb 04 14:29:03 2008 +0000
+++ b/drivers/xen/netback/netback.c     Tue Feb 05 10:05:19 2008 +0000
@@ -607,7 +607,7 @@ static void net_rx_action(unsigned long 
 
        npo.mmu_mcl = npo.mcl_prod;
        if (npo.mcl_prod) {
-               BUG_ON(!xen_feature(XENFEAT_auto_translated_physmap));
+               BUG_ON(xen_feature(XENFEAT_auto_translated_physmap));
                BUG_ON(npo.mmu_prod > ARRAY_SIZE(rx_mmu));
                mcl = npo.mcl + npo.mcl_prod++;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] netback: Fix BUG_ON() on page-flip receive path which would always, Xen patchbot-linux-2.6.18-xen <=