[PATCH V4 2/2] nvme-tcp: do not complete the request if send operation fails
Keith Busch
kbusch at kernel.org
Sat Apr 5 16:23:17 PDT 2025
On Fri, Apr 04, 2025 at 10:28:01AM +0200, Maurizio Lombardi wrote:
> In some cases, the send operation may fail even though
> the command is successfully received by the target.
> The target then sends a command completion capsule back to the host,
> leading to double completion and a kernel panic.
>
> To prevent this, do not fail the request; instead, let the
> error recovery mechanism clean everything up.
Looks good.
Reviewed-by: Keith Busch <kbusch at kernel.org>
More information about the Linux-nvme
mailing list