From: kfraser@dhcp93.uk.xensource.com Date: Tue, 6 Jun 2006 07:21:31 +0000 (+0100) Subject: [NET] front: Turn grant-ref error into a fatal bug. That's the best we X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15972^2~49^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=542ad2f200de2e7f94a74bbce59579b58d99c8b6;p=xen.git [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 --- diff --git a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c index 7d56adede9..fec3a4ea4a 100644 --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c @@ -499,7 +499,7 @@ static void network_tx_buf_gc(struct net_device *dev) printk(KERN_ALERT "network_tx_buf_gc: warning " "-- grant still in use by backend " "domain.\n"); - break; /* bail immediately */ + BUG(); } gnttab_end_foreign_access_ref( np->grant_tx_ref[id], GNTMAP_readonly);