Skip to content
Commit dca4d60f authored by Eric Auger's avatar Eric Auger Committed by Joerg Roedel
Browse files

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: cc580e41 ("iommu/vt-d: Per PCI device pasid table interfaces")

Signed-off-by: default avatarEric Auger <eric.auger@redhat.com>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 5daab580
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment