# 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,
Keir Fraser
2012-Mar-22 10:22 UTC
Re: [PATCH] x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3
On 22/03/2012 10:09, "Tim Deegan" <tim@xen.org> wrote:> # 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>Acked-by: Keir Fraser <keir@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, > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel