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

Re: [Xen-devel] [PATCH] passthrough: fix domain ref leak after 24888:71159fb049f2


  • To: Jan Beulich <JBeulich@xxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Wed, 07 Mar 2012 09:44:49 +0000
  • Delivery-date: Wed, 07 Mar 2012 09:45:20 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>
  • Thread-index: Acz8Ru/ry2qYp8AIJUKHHWj1tXC7sw==
  • Thread-topic: [Xen-devel] [PATCH] passthrough: fix domain ref leak after 24888:71159fb049f2

On 07/03/2012 09:41, "Jan Beulich" <JBeulich@xxxxxxxx> wrote:

> As pointed out by Keir.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Acked-by: Keir Fraser <keir@xxxxxxx>

> --- a/xen/drivers/passthrough/iommu.c
> +++ b/xen/drivers/passthrough/iommu.c
> @@ -580,6 +580,8 @@ int iommu_do_domctl(
>              printk(XENLOG_G_ERR
>                     "XEN_DOMCTL_assign_device: get_domain_by_id() failed\n");
>              ret = -EINVAL;
> +            if ( d )
> +                goto assign_device_out;
>              break;
>          }
>  
> 
> 
> 
> _______________________________________________
> 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®.