diff options
| author | Martin Belanger <martin.belanger@dell.com> | 2026-10-27 06:38:52 -0400 |
|---|---|---|
| committer | Keith Busch <kbusch@kernel.org> | 2026-10-28 08:25:35 -0700 |
| commit | 288cfa187208cc9d0809eb8e1508658151a444dd (patch) | |
| tree | 6e67ca16ae6ccb81ccae265e75a9ebec8c69f5fb /tools/lib/python | |
| parent | 11db8ab55e1a7533e9cfe57687ab142ba67d3c84 (diff) | |
nvme-tcp: start error recovery when read_sock fails
nvme_tcp_recv_skb() disables the queue and starts error recovery for
errors it detects itself. An error returned by the transport reaches
nvme_tcp_try_recv() without either action.
nvme_tcp_io_work() returns on a negative result and does not requeue
itself, so the queue stops receiving and remains stalled until a command
times out.
Report the error and start error recovery when the queue is still
enabled, which indicates that the error was not handled by the actor.
Do this under the socket lock, as nvme_tcp_recv_skb() does.
Fixes: be8e82caa685 ("nvme-tcp: enable TLS handshake upcall")
Cc: stable@vger.kernel.org
Assisted-by: LLM
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin Belanger <martin.belanger@dell.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
