[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9d30d670-d4ac-4af1-9177-88fde952ed3e@linux.intel.com>
Date: Wed, 13 Dec 2023 21:26:09 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>,
Joerg Roedel <joro@...tes.org>, Will Deacon <will@...nel.org>,
Robin Murphy <robin.murphy@....com>, iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Cc: baolu.lu@...ux.intel.com, dan.carpenter@...aro.org,
kernel-janitors@...r.kernel.org, error27@...il.com
Subject: Re: [PATCH] iommu/sva: Fix memory leak in iommu_sva_bind_device()
On 2023/12/13 19:14, Harshit Mogalapalli wrote:
> 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@...cle.com>
Reviewed-by: Lu Baolu <baolu.lu@...ux.intel.com>
Best regards,
baolu
Powered by blists - more mailing lists