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

Commit 9487b0df authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "iommu: fix smmu_secure_pool access list after free issue"

parents eaffebf9 8e827bec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1190,6 +1190,7 @@ static void arm_smmu_secure_pool_destroy(struct arm_smmu_domain *smmu_domain)
	list_for_each_entry_safe(it, i, &smmu_domain->secure_pool_list, list) {
		arm_smmu_unprepare_pgtable(smmu_domain, it->addr, it->size);
		/* pages will be freed later (after being unassigned) */
		list_del(&it->list);
		kfree(it);
	}
}