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

Re: [Xen-devel] [PATCH] x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3


  • To: Tim Deegan <tim@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Thu, 22 Mar 2012 10:22:19 +0000
  • Delivery-date: Thu, 22 Mar 2012 10:22:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Ac0IFak4Sdj/6Dv1KEaL5W7+jVJFGw==
  • Thread-topic: [Xen-devel] [PATCH] x86: Fix put_gfn in XEN_DOMCTL_getpageframeinfo3

On 22/03/2012 10:09, "Tim Deegan" <tim@xxxxxxx> wrote:

> # HG changeset patch
> # User Tim Deegan <tim@xxxxxxx>
> # 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@xxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> 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@xxxxxxxxxxxxx
> http://lists.xen.org/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.