Merge "iommu: arm-smmu: Fix domain logger use-after-free"

This commit is contained in:
qctecmdr 2020-03-14 18:51:01 -07:00 • committed by Gerrit - the friendly Code Review server
commit 8e40478163

View file

@ -2136,6 +2136,7 @@ out_clear_smmu:
smmu_domain->smmu = NULL;
out_logger:
iommu_logger_unregister(smmu_domain->logger);
smmu_domain->logger = NULL;
out_unlock:
mutex_unlock(&smmu_domain->init_mutex);
return ret;