Merge "iommu: fix smmu_secure_pool access list after free issue"
This commit is contained in:
commit
2ba44c1ce1
1 changed files with 1 additions and 0 deletions
|
@ -1243,6 +1243,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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue