mirror of
https://github.com/opnsense/src.git
synced 2026-02-22 01:11:30 -05:00
In the extremely unlikely case that the iommu_gas_map_region() call in bus_dma_iommu_load_ident() failed, we would attempt to unmap the failed entry twice, first in iommu_gas_map_region(), and a second time in the caller. Once is enough, and twice is problematic because it leads to a second RB_REMOVE call on the same tree node. Like it or not, RB_TREE does not handle that possibility. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35869 |
||
|---|---|---|
| .. | ||
| busdma_iommu.c | ||
| busdma_iommu.h | ||
| iommu.h | ||
| iommu_gas.c | ||
| iommu_gas.h | ||
| iommu_msi.h | ||
| iommu_types.h | ||