xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3
@ 2012-03-22 10:09 Tim Deegan
  2012-03-22 10:22 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Deegan @ 2012-03-22 10:09 UTC (permalink / raw)
  To: xen-devel

# HG changeset patch
# User Tim Deegan <tim@xen.org>
# Date 1332410974 0
# Node ID 0ac27965667da28c3cf01d72c77bdf2c712efbf7
# Parent  713bc70e5fe71670bd40de2c5524cade6220afcf
x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3.

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

diff -r 713bc70e5fe7 -r 0ac27965667d xen/arch/x86/domctl.c
--- a/xen/arch/x86/domctl.c	Wed Mar 21 09:37:24 2012 +0100
+++ b/xen/arch/x86/domctl.c	Thu Mar 22 10:09:34 2012 +0000
@@ -237,8 +237,8 @@ long arch_do_domctl(
                     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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-22 10:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-22 10:09 [PATCH] x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3 Tim Deegan
2012-03-22 10:22 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).