aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorIsrael Rukshin <[email protected]>2017-05-11 15:52:36 +0000
committerDoug Ledford <[email protected]>2017-06-01 21:20:10 +0000
commit95c2ef50c726a51d580c35ae8dccd383abaa8701 (patch)
tree449a5e34e8f365503eaa3104e887252e1125d436 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentRDMA/IPoIB: Limit the ipoib_dev_uninit_default scope (diff)
downloadkernel-95c2ef50c726a51d580c35ae8dccd383abaa8701.tar.gz
kernel-95c2ef50c726a51d580c35ae8dccd383abaa8701.zip
RDMA/srp: Fix NULL deref at srp_destroy_qp()
If srp_init_qp() fails at srp_create_ch_ib() then ch->send_cq may be NULL. Calling directly to ib_destroy_qp() is sufficient because no work requests were posted on the created qp. Fixes: 9294000d6d89 ("IB/srp: Drain the send queue before destroying a QP") Cc: <[email protected]> Signed-off-by: Israel Rukshin <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Reviewed-by: Bart van Assche <[email protected]>-- Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions