|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-3.0-testing] [NET] front: Turn grant-ref error into
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID ecae09fda29a9fc08059984b12259e1811a1444b
# Parent ec8c43c9533249e4af781089b1d0423a20ad26c9
[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@xxxxxxxxxxxxx>
xen-unstable changeset: 10275:3913a119477de17cf123991c113828437d7ba471
xen-unstable date: Tue Jun 06 08:21:31 2006 +0100
---
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 3 +--
1 files changed, 1 insertion(+), 2 deletions(-)
diff -r ec8c43c95332 -r ecae09fda29a
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Tue Jun 06
08:17:49 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Tue Jun 06
08:23:49 2006 +0100
@@ -478,7 +478,7 @@ static void network_tx_buf_gc(struct net
printk(KERN_ALERT "network_tx_buf_gc: warning "
"-- grant still in use by backend "
"domain.\n");
- goto out;
+ BUG();
}
gnttab_end_foreign_access_ref(
np->grant_tx_ref[id], GNTMAP_readonly);
@@ -504,7 +504,6 @@ static void network_tx_buf_gc(struct net
mb();
} while (prod != np->tx.sring->rsp_prod);
- out:
if (np->tx_full &&
((np->tx.sring->req_prod - prod) < NET_TX_RING_SIZE)) {
np->tx_full = 0;
_______________________________________________
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.0-testing] [NET] front: Turn grant-ref error into a fatal bug. That's the best we,
Xen patchbot-3 . 0-testing <=
|
|
|
|
|