|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [Patch] Illegal grant mapping makes domain zombie
Hi,
I think I found a bug.
__gnttab_map_grant_ref() doesn't perform put_domain()
in some case of fail to map the granted page.
That is, the domain might become zombie when illegal grant mapping.
This patch fixed it.
Regards,
Kouya SHIMURA
Signed-off-by: Kouya SHIMURA <kouya@xxxxxxxxxxxxxx>
diff -r 1d36cca98fc3 xen/common/grant_table.c
--- a/xen/common/grant_table.c Fri Feb 10 11:35:19 2006
+++ b/xen/common/grant_table.c Mon Feb 13 14:02:40 2006
@@ -316,6 +316,7 @@
spin_unlock(&rd->grant_table->lock);
(void)__put_user(rc, &uop->status);
put_maptrack_handle(ld->grant_table, handle);
+ put_domain(rd);
return rc;
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [Patch] Illegal grant mapping makes domain zombie,
Kouya SHIMURA <=
|
|
|
|
|