lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 21 May 2016 14:11:04 -0400 From: Jan Vesely <jan.vesely@...gers.edu> To: Joerg Roedel <joro@...tes.org> Cc: iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org, Jan Vesely <jan.vesely@....com> Subject: [PATCH 2/2] iommu/amd: Destroy api_lock mutex when freeing domain From: Jan Vesely <jan.vesely@....com> Signed-off-by: Jan Vesely <jan.vesely@....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); -- 2.5.5
Powered by blists - more mailing lists