Re: [PATCH] dma-buf: Fix one use-after-free of fence

2022-07-27 Thread Alex Deucher
Did this ever land? I don't see it in drm-misc. Alex On Thu, Jul 7, 2022 at 4:05 AM Christian König wrote: > > Am 07.07.22 um 10:02 schrieb xinhui pan: > > Need get the new fence when we replace the old one. > > > > Fixes: 047a1b877ed48 ("dma-buf & drm/amdgpu: remove dma_resv workaround") > > S

Re: [PATCH] dma-buf: Fix one use-after-free of fence

2022-07-07 Thread Christian König
Am 07.07.22 um 10:02 schrieb xinhui pan: Need get the new fence when we replace the old one. Fixes: 047a1b877ed48 ("dma-buf & drm/amdgpu: remove dma_resv workaround") Signed-off-by: xinhui pan Good catch, Reviewed-by: Christian König Going to push that in a minute. Christian. --- drive

[PATCH] dma-buf: Fix one use-after-free of fence

2022-07-07 Thread xinhui pan
Need get the new fence when we replace the old one. Fixes: 047a1b877ed48 ("dma-buf & drm/amdgpu: remove dma_resv workaround") Signed-off-by: xinhui pan --- drivers/dma-buf/dma-resv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma-buf/dma-resv.c b/drivers/dma-buf/