Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad02b8a6 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents ab7e65d9 06e9d2b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2348,6 +2348,7 @@ static int arm_smmu_init_domain_context(struct iommu_domain *domain,
	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;