diff options
| author | Prakash Gupta <guptap@codeaurora.org> | 2017-09-18 14:34:11 +0530 |
|---|---|---|
| committer | Prakash Gupta <guptap@codeaurora.org> | 2017-09-20 11:04:47 +0530 |
| commit | e6a18bb617e4b9714fc3e7e110ff8fa638433936 (patch) | |
| tree | bb66d893b1f6b5174d3a1355ad09fe978259a6dc /lib/mpi/mpi-inline.h | |
| parent | 569fef54de0bced23f057bd8146b5e5c0c9ed36f (diff) | |
iommu: free io pgtable during domain detach.
Pagetable pgd is allocated in arm_smmu_init_domain_context and is freed in
arm_smmu_domain_free. Client can attach/detach domain without freeing the
same. This causes memory leak. This was introduced with
commit fe676929a960 ("iommu/arm-smmu: fix a DOMAIN_ATTR_DYNAMIC memory
leak")
Free io pgtables in arm_smmu_destroy_domain_context, which is invoked at
the time of domain detach.
Change-Id: Ib53e4efdd8dca33437596f3f0ccaa8ccaae79ca0
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
