>>> On 20.08.18 at 05:32, <zhenzhong.d...@oracle.com> wrote:
> Release memory allocated for drhd iommu in error path.
> 
> Signed-off-by: Zhenzhong Duan <zhenzhong.d...@oracle.com>

Reviewed-by: Jan Beulich <jbeul...@suse.com>

But this needs a maintainer ack, and you didn't Cc him (now done).

Jan

> --- a/xen/drivers/passthrough/vtd/dmar.c
> +++ b/xen/drivers/passthrough/vtd/dmar.c
> @@ -100,6 +100,7 @@ static void __init disable_all_dmar_units(void)
>      {
>          list_del(&drhd->list);
>          scope_devices_free(&drhd->scope);
> +        iommu_free(drhd->iommu);
>          xfree(drhd);
>      }
>      list_for_each_entry_safe ( rmrr, _rmrr, &acpi_rmrr_units, list )
> -- 
> 1.7.3





_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to