[PATCH V2] nvme-fabrics: fix I/O connect error handling

Keith Busch kbusch at kernel.org
Tue Feb 13 08:32:05 PST 2024


On Tue, Feb 13, 2024 at 12:26:46AM -0800, Chaitanya Kulkarni wrote:
> In nvmf_connect_io_queue(), if connect I/O command fails, we log the
> error and continue for authentication. This overrides error captured
> from __nvme_submit_sync_cmd(), causing wrong return value.
> 
> Add goto out_free_data after logging connect error to fix the issue.
> 
> Fixes: f50fff73d620c ("nvme: implement In-Band authentication")
> Signed-off-by: Chaitanya Kulkarni <kch at nvidia.com>

Thanks, applied to nvme-6.8.



More information about the Linux-nvme mailing list