aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorMaurizio Lombardi <[email protected]>2021-07-02 08:11:21 +0000
committerChristoph Hellwig <[email protected]>2021-07-05 08:14:44 +0000
commit0755d3be2d9bb6ea38598ccd30d6bbaa1a5c3a50 (patch)
tree4bedd822909aa74d9f533f0dcb59aa428357afce /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentloop: remove unused variable in loop_set_status() (diff)
downloadkernel-0755d3be2d9bb6ea38598ccd30d6bbaa1a5c3a50.tar.gz
kernel-0755d3be2d9bb6ea38598ccd30d6bbaa1a5c3a50.zip
nvme-tcp: can't set sk_user_data without write_lock
The sk_user_data pointer is supposed to be modified only while holding the write_lock "sk_callback_lock", otherwise we could race with other threads and crash the kernel. we can't take the write_lock in nvmet_tcp_state_change() because it would cause a deadlock, but the release_work queue will set the pointer to NULL later so we can simply remove the assignment. Fixes: b5332a9f3f3d ("nvmet-tcp: fix incorrect locking in state_change sk callback") Signed-off-by: Maurizio Lombardi <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions