mirror of
https://github.com/opnsense/src.git
synced 2026-05-27 03:33:51 -04:00
Eliminate a possible case of use-after-free in an error handling path after a mapping failure. Specifically, eliminate IOMMU_MAP_ENTRY_QI_NF and instead perform the IOTLB invalidation synchronously. Otherwise, when iommu_domain_unload_entry() is called and told not to free the IOMMU map entry, the caller could free the entry before dmar_qi_task() is finished with it. Reviewed by: kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D35878 |
||
|---|---|---|
| .. | ||
| busdma_iommu.c | ||
| busdma_iommu.h | ||
| iommu.h | ||
| iommu_gas.c | ||
| iommu_gas.h | ||
| iommu_msi.h | ||
| iommu_types.h | ||