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: cfea71ae ("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>
Loading
Please register or sign in to comment