aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorMeir Elisha <[email protected]>2025-02-26 07:28:12 +0000
committerKeith Busch <[email protected]>2025-02-28 02:20:27 +0000
commita16f88964c647103dad7743a484b216d488a6352 (patch)
tree9540ee4959b8ca466d3259391021e4222460bc2d /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentnvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu() (diff)
downloadkernel-a16f88964c647103dad7743a484b216d488a6352.tar.gz
kernel-a16f88964c647103dad7743a484b216d488a6352.zip
nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch
The order in which queue->cmd and rcv_state are updated is crucial. If these assignments are reordered by the compiler, the worker might not get queued in nvmet_tcp_queue_response(), hanging the IO. to enforce the the correct reordering, set rcv_state using smp_store_release(). Fixes: bdaf13279192 ("nvmet-tcp: fix a segmentation fault during io parsing error") Signed-off-by: Meir Elisha <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions