Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418470

Re: [PATCH 2/2] iommu/amd: Destroy api_lock mutex when freeing domain

From "Vesely, Jan" <Jan.Vesely@amd.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] iommu/amd: Destroy api_lock mutex when freeing domain
Date 2016-06-09 18:30 +0200
Message-ID <rIb0e-lr-11@gated-at.bofh.it> (permalink)
References <rBjFf-6V9-7@gated-at.bofh.it> <rBjFf-6V9-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 2016-05-21 at 14:11 -0400, Jan Vesely wrote:
> From: Jan Vesely <jan.vesely@amd.com>
> 
> Signed-off-by: Jan Vesely <jan.vesely@amd.com>
> ---
>  drivers/iommu/amd_iommu.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c
> index 17c76f2..4ff5e40 100644
> --- a/drivers/iommu/amd_iommu.c
> +++ b/drivers/iommu/amd_iommu.c
> @@ -3016,6 +3016,7 @@ static void protection_domain_free(struct
> protection_domain *domain)
>  
>  	del_domain_from_list(domain);
>  
> +	mutex_destroy(&domain->api_lock);
>  	if (domain->id)
>  		domain_id_free(domain->id);
>  

ping

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] iommu/amd: Destroy api_lock mutex when freeing domain "Vesely, Jan" <Jan.Vesely@amd.com> - 2016-06-09 18:30 +0200

csiph-web