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

Commit 18b03937 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 f70211a3 0eaa26c4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1099,6 +1099,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);
	}
}