+12
−3
Loading
Fix a memory leak of struct amd_iommu_pci_segment in alloc_pci_segment() when system memory (or contiguous memory) is insufficient. Fixes: 04230c11 ("iommu/amd: Introduce per PCI segment device table") Fixes: eda797a2 ("iommu/amd: Introduce per PCI segment rlookup table") Fixes: 99fc4ac3 ("iommu/amd: Introduce per PCI segment alias_table") Cc: stable@vger.kernel.org Signed-off-by:Jinhui Guo <guojinhui.liam@bytedance.com> Signed-off-by:
Joerg Roedel <joerg.roedel@amd.com>