ia64/xen-unstable

changeset 10313:3913a119477d

[NET] front: Turn grant-ref error into a fatal bug. That's the best we
can do until we have a backend driver recovery method.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@dhcp93.uk.xensource.com
date Tue Jun 06 08:21:31 2006 +0100 (2006-06-06)
parents 89d7acdd8951
children b3d901ba705d
files linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Tue Jun 06 08:05:13 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c	Tue Jun 06 08:21:31 2006 +0100
     1.3 @@ -499,7 +499,7 @@ static void network_tx_buf_gc(struct net
     1.4  				printk(KERN_ALERT "network_tx_buf_gc: warning "
     1.5  				       "-- grant still in use by backend "
     1.6  				       "domain.\n");
     1.7 -				break; /* bail immediately */
     1.8 +				BUG();
     1.9  			}
    1.10  			gnttab_end_foreign_access_ref(
    1.11  				np->grant_tx_ref[id], GNTMAP_readonly);