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

[Xen-changelog] [xen-4.1-testing] xen: add missing unlock from gnttab_get_version



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1329993433 0
# Node ID 04d72f81775d66d159f4f2aea7723bb1ad432564
# Parent  bc8f88be9e4b01d39724e568dde5644338cfde4b
xen: add missing unlock from gnttab_get_version

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Reported-by: Francisco Rocha <f.e.liberal-rocha@xxxxxxxxxxxxxxx>
Committed-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   24871:66cc5b67e749
xen-unstable date:        Thu Feb 23 09:59:35 2012 +0000
---


diff -r bc8f88be9e4b -r 04d72f81775d xen/common/grant_table.c
--- a/xen/common/grant_table.c  Thu Feb 23 10:35:41 2012 +0000
+++ b/xen/common/grant_table.c  Thu Feb 23 10:37:13 2012 +0000
@@ -2241,6 +2241,8 @@
     op.version = d->grant_table->gt_version;
     spin_unlock(&d->grant_table->lock);
 
+    rcu_unlock_domain(d);
+
     if ( copy_to_guest(uop, &op, 1) )
         return -EFAULT;
     else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
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®.