diff options
author | 2025-07-11 13:40:20 -0700 | |
---|---|---|
committer | 2025-07-14 12:15:18 +0100 | |
commit | 49f42634e8054e57d09c7f9ef5e4527e116059cb (patch) | |
tree | 36b75cd8c17043a162200815ee5c039a7526a0b0 /tools/perf/scripts/python | |
parent | iommu/io-pgtable-arm: Remove unused macro iopte_prot (diff) | |
download | wireguard-linux-49f42634e8054e57d09c7f9ef5e4527e116059cb.tar.xz wireguard-linux-49f42634e8054e57d09c7f9ef5e4527e116059cb.zip |
iommu/arm-smmu-v3: Revert vmaster in the error path
The error path for err_free_master_domain leaks the vmaster. Move all
the kfrees for vmaster into the goto error section.
Fixes: cfea71aea921 ("iommu/arm-smmu-v3: Put iopf enablement in the domain attach path")
Cc: stable@vger.kernel.org
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Pranjal Shrivastava <praan@google.com>
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Link: https://lore.kernel.org/r/20250711204020.1677884-1-nicolinc@nvidia.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions