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

Skip to content
Commit d54d6924 authored by Olav Haugan's avatar Olav Haugan
Browse files

iommu: msm: Fix potential memory leak in unmapping



A memory leak can occur when we have a 2MB mapping
followed by smaller mappings requiring 3rd level page
tables. Fix this potential for memory leak in iommu
unmapping code for LPAE by not assuming that the next
entry after a 2MB mapping is also a 2MB mapping.

CRs-fixed: 659056
Change-Id: I51f5bf2feedc6460adccbfb17070331b7c28454f
Signed-off-by: default avatarOlav Haugan <ohaugan@codeaurora.org>
parent 7524e3f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment