ANDROID: KVM: arm64: iommu: Avoid ref count leak when __pkvm_host_use_dma fails
In kvm_iommu_map_pages, release the reference to the domain if we return early because __pkvm_host_use_dma failed. Bug: 401132481 Fixes: a737b7d0 ("ANDROID: KVM: arm64: iommu: Reduce the logic in generic code") Change-Id: Ib792425a726513f5a6b8198aa3d0208aa43b0502 Signed-off-by:Daniel Mentz <danielmentz@google.com>
Loading
Please sign in to comment