Re: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-08 Thread Alex Deucher
On Fri, Feb 3, 2017 at 3:23 PM, Colin King wrote: > From: Colin Ian King > > bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv > and then a short while later. Fix this double free by removing > the 2nd kfree. > > Detected by

答复: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-03 Thread Liu, Monk
.org; dri-de...@lists.freedesktop.org 抄送: kernel-janit...@vger.kernel.org; linux-ker...@vger.kernel.org 主题: [PATCH] drm/amdgpu/virt: fix double kfree on bo_va From: Colin Ian King <colin.k...@canonical.com> bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv and then a shor

[PATCH] drm/amdgpu/virt: fix double kfree on bo_va

2017-02-03 Thread Colin King
From: Colin Ian King bo_va is being kfree'd twice, once in the call to amdgpu_vm_bo_rmv and then a short while later. Fix this double free by removing the 2nd kfree. Detected by CoverityScan, CID#1399524 ("Double Free") Signed-off-by: Colin Ian King