aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorBernard Metzler <[email protected]>2020-03-02 18:16:14 +0000
committerJason Gunthorpe <[email protected]>2020-03-04 18:28:25 +0000
commit810dbc69087b08fd53e1cdd6c709f385bc2921ad (patch)
treec4026b771d548418d8d98817078eb57846156ddf /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentRDMA/siw: Fix failure handling during device creation (diff)
downloadkernel-810dbc69087b08fd53e1cdd6c709f385bc2921ad.tar.gz
kernel-810dbc69087b08fd53e1cdd6c709f385bc2921ad.zip
RDMA/iwcm: Fix iwcm work deallocation
The dealloc_work_entries() function must update the work_free_list pointer while freeing its entries, since potentially called again on same list. A second iteration of the work list caused system crash. This happens, if work allocation fails during cma_iw_listen() and free_cm_id() tries to free the list again during cleanup. Fixes: 922a8e9fb2e0 ("RDMA: iWARP Connection Manager.") Link: https://lore.kernel.org/r/[email protected] Reported-by: [email protected] Signed-off-by: Bernard Metzler <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions