Skip to content
Snippets Groups Projects
Commit 3988ac1c authored by Ruozhu Li's avatar Ruozhu Li Committed by Keith Busch
Browse files

nvmet-rdma: recheck queue state is LIVE in state lock in recv done


The queue state checking in nvmet_rdma_recv_done is not in queue state
lock.Queue state can transfer to LIVE in cm establish handler between
state checking and state lock here, cause a silent drop of nvme connect
cmd.
Recheck queue state whether in LIVE state in state lock to prevent this
issue.

Signed-off-by: default avatarRuozhu Li <david.li@jaguarmicro.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent 40823268
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment