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

[Xen-changelog] Fix error exit path in __gnttab_map_grant_ref() to



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 4caca2046421c73e822e268964a404368fc6996c
# Parent  6ff2db6072567ae3f7a8213e7624fab44d9d177d
Fix error exit path in __gnttab_map_grant_ref() to
put_domain() and hence avoid zombie domains.

Signed-off-by: Kouya Shimura <kouya@xxxxxxxxxxxxxx>

diff -r 6ff2db607256 -r 4caca2046421 xen/common/grant_table.c
--- a/xen/common/grant_table.c  Mon Feb 13 09:19:14 2006
+++ b/xen/common/grant_table.c  Mon Feb 13 09:23:26 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-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®.