[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190503153443.GD11605@8bytes.org>
Date: Fri, 3 May 2019 17:34:43 +0200
From: Joerg Roedel <joro@...tes.org>
To: Eric Auger <eric.auger@...hat.com>
Cc: eric.auger.pro@...il.com, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, dwmw2@...radead.org
Subject: Re: [PATCH] iommu/vt-d: Fix leak in intel_pasid_alloc_table on error
path
On Tue, Apr 30, 2019 at 09:30:04AM +0200, Eric Auger wrote:
> If alloc_pages_node() fails, pasid_table is leaked. Free it.
>
> Fixes: cc580e41260db ("iommu/vt-d: Per PCI device pasid table interfaces")
>
> Signed-off-by: Eric Auger <eric.auger@...hat.com>
> ---
> drivers/iommu/intel-pasid.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.
Powered by blists - more mailing lists