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

[Xen-changelog] [xen-unstable] x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3.



# HG changeset patch
# User Tim Deegan <tim@xxxxxxx>
# Date 1332411928 0
# Node ID 363579ff4fa30d7198d18ef8da94ccdf515bb0c2
# Parent  a0aad46225ac94ec341d2667fd91e2c1f9362a3e
x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3.

Reported by Christian Limpach.
Signed-off-by: Tim Deegan <tim@xxxxxxx>
---


diff -r a0aad46225ac -r 363579ff4fa3 xen/arch/x86/domctl.c
--- a/xen/arch/x86/domctl.c     Thu Mar 22 10:19:01 2012 +0000
+++ b/xen/arch/x86/domctl.c     Thu Mar 22 10:25:28 2012 +0000
@@ -237,8 +237,8 @@
                     else
                         type = XEN_DOMCTL_PFINFO_XTAB;
 
+                    put_gfn(d, arr[j]);
                     arr[j] = type;
-                    put_gfn(d, arr[j]);
                 }
 
                 if ( copy_to_guest_offset(domctl->u.getpageframeinfo3.array,

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