Re: [PATCH 1/1] iommu/vt-d: Fix a potential memory leak

2018-03-15 Thread Joerg Roedel
On Sat, Feb 24, 2018 at 01:42:27PM +0800, Lu Baolu wrote: > A memory block was allocated in intel_svm_bind_mm() but never freed > in a failure path. This patch fixes this by free it to avoid memory > leakage. > > Cc: Ashok Raj > Cc: Jacob Pan > Cc: # v4.4+ > Signed-off-by: Lu Baolu Applied, t

Re: [PATCH 1/1] iommu/vt-d: Fix a potential memory leak

2018-02-28 Thread Jacob Pan
On Sat, 24 Feb 2018 13:42:27 +0800 Lu Baolu wrote: > A memory block was allocated in intel_svm_bind_mm() but never freed > in a failure path. This patch fixes this by free it to avoid memory > leakage. > looks good to me. Thanks, > Cc: Ashok Raj > Cc: Jacob Pan > Cc: # v4.4+ > Signed-off-by:

[PATCH 1/1] iommu/vt-d: Fix a potential memory leak

2018-02-23 Thread Lu Baolu
A memory block was allocated in intel_svm_bind_mm() but never freed in a failure path. This patch fixes this by free it to avoid memory leakage. Cc: Ashok Raj Cc: Jacob Pan Cc: # v4.4+ Signed-off-by: Lu Baolu --- drivers/iommu/intel-svm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dr