HomeFreeBSD

iommu_gas: Add a missing error-case unlock

Description

iommu_gas: Add a missing error-case unlock

Release the domain lock when iommu_gas_reserve_region_extend()'s call to
iommu_gas_reserve_region_locked() fails.

MFC after: 2 weeks

(cherry picked from commit 0ba1d8608234eee767b475627da6e5903ce7536a)

Details

Provenance
alcAuthored on Jun 21 2022, 4:48 AM
dougmCommitted on Jul 6 2022, 4:53 PM
Parents
rG1334074959c1: busdma_iommu: Eliminate a redundant trunc_page()
Branches
Unknown
Tags
Unknown