diff options
author | 2023-12-13 03:14:50 -0800 | |
---|---|---|
committer | 2023-12-15 09:06:49 +0100 | |
commit | 9991a82a38174672273df44a3cc6c87ef74b18e9 (patch) | |
tree | 7ce590f5f49e160eb370a6ccf2f0329cc5af946c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iommu/dma: Trace bounce buffer usage when mapping buffers (diff) | |
download | wireguard-linux-9991a82a38174672273df44a3cc6c87ef74b18e9.tar.xz wireguard-linux-9991a82a38174672273df44a3cc6c87ef74b18e9.zip |
iommu/sva: Fix memory leak in iommu_sva_bind_device()
Free the handle when the domain allocation fails before unlocking and
returning.
Fixes: 092edaddb660 ("iommu: Support mm PASID 1:n with sva domains")
Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20231213111450.2487861-1-harshit.m.mogalapalli@oracle.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions