sst-linux/drivers/nvme/target
Ruozhu Li cd3f60e499 nvmet-rdma: recheck queue state is LIVE in state lock in recv done
[ Upstream commit 3988ac1c67e6e84d2feb987d7b36d5791174b3da ]

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: Ruozhu Li <david.li@jaguarmicro.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-03-28 21:58:52 +01:00
..
admin-cmd.c
auth.c nvmet-auth: assign dh_key to NULL after kfree_sensitive 2024-11-08 16:26:46 +01:00
configfs.c
core.c nvmet: always initialize cqe.result 2024-07-25 09:49:13 +02:00
discovery.c
fabrics-cmd-auth.c nvmet: always initialize cqe.result 2024-07-25 09:49:13 +02:00
fabrics-cmd.c nvmet: always initialize cqe.result 2024-07-25 09:49:13 +02:00
fc.c
fcloop.c
io-cmd-bdev.c nvmet: propagate npwg topology 2025-01-23 17:17:11 +01:00
io-cmd-file.c
Kconfig
loop.c
Makefile
nvmet.h
passthru.c nvmet-passthru: propagate status from id override functions 2024-06-21 14:35:52 +02:00
rdma.c nvmet-rdma: recheck queue state is LIVE in state lock in recv done 2025-03-28 21:58:52 +01:00
tcp.c nvmet-tcp: Fix a possible sporadic response drops in weakly ordered arch 2025-03-13 12:53:16 +01:00
trace.c nvmet-trace: avoid dereferencing pointer too early 2024-08-29 17:30:34 +02:00
trace.h nvmet-trace: avoid dereferencing pointer too early 2024-08-29 17:30:34 +02:00
zns.c