[PATCH] nvmet-tcp: fix a hang on queue teardown with data digest

Sagi Grimberg sagi at grimberg.me
Fri Sep 11 14:15:51 PDT 2026



On 01/09/2026 4:47, Shivam Kumar wrote:
> With data digest on, a command that has received all its data waits for
> the digest in NVMET_TCP_RECV_DDGST. has_data_in() is already false there,
> so need_data_in() is too, and nvmet_tcp_uninit_data_in_cmds() skips it on
> teardown even though it still holds the nvmet_req_init() reference.

So nvmet_tcp_uninit_data_in_cmds  is where this should be addressed.



More information about the Linux-nvme mailing list