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

[Xen-changelog] Fixed domain refcounting bug (found by inspection)



# HG changeset patch
# User mafetter@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 0f62ea79cd8d9e64c326ca703b7230e845425505
# Parent  d25bdfb2576e63f1f599484439fca01d6ae6ba2d
Fixed domain refcounting bug (found by inspection)

diff -r d25bdfb2576e -r 0f62ea79cd8d xen/arch/x86/dom0_ops.c
--- a/xen/arch/x86/dom0_ops.c   Tue Nov  8 10:36:55 2005
+++ b/xen/arch/x86/dom0_ops.c   Tue Nov  8 10:38:32 2005
@@ -263,6 +263,7 @@
         if ( unlikely(num > 1024) )
         {
             ret = -E2BIG;
+            put_domain(d);
             break;
         }
 

_______________________________________________
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®.