We should free the allocated ASID if smmu_init_cd() fails.
Move the allocation of "domain" to simplify the first error path.
Reported by: Kevin Day <kevin@your.org>
Differential D54676
arm64/iommu: Fix a resource leak in smmu_domain_alloc() Authored by markj on Mon, Jan 12, 9:16 PM.
Details
Diff Detail
|