aboutsummaryrefslogtreecommitdiff
path: root/drivers/iommu/amd_iommu_init.c
diff options
context:
space:
mode:
authorEric Auger <[email protected]>2019-04-30 09:30:04 +0200
committerJoerg Roedel <[email protected]>2019-05-03 17:34:27 +0200
commitdca4d60f5f8c9263f8f66724fa4750abd32d8db0 (patch)
treec846f7437df8d84baa27998fda454fb457ec1150 /drivers/iommu/amd_iommu_init.c
parent5daab58043ee2bca861068e2595564828f3bc663 (diff)
iommu/vt-d: Fix leak in intel_pasid_alloc_table on error path
If alloc_pages_node() fails, pasid_table is leaked. Free it. Fixes: cc580e41260db ("iommu/vt-d: Per PCI device pasid table interfaces") Signed-off-by: Eric Auger <[email protected]> Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'drivers/iommu/amd_iommu_init.c')
0 files changed, 0 insertions, 0 deletions