[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] netback: Fix BUG_ON() on page-flip receive path which would always



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.