Commit cd3f60e4 authored by Ruozhu Li's avatar Ruozhu Li Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit 3988ac1c ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6eea8a5c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment