diff options
author | 2024-02-13 00:26:46 -0800 | |
---|---|---|
committer | 2024-02-13 08:16:10 -0800 | |
commit | 79bd7eab8366b29eaa099908d5694cb473684b9d (patch) | |
tree | 5fab09e50e916e4fcc18c1cc50f5c7deb1e66aae /scripts/generate_rust_analyzer.py | |
parent | Merge tag 'nvme-6.8-2023-02-08' of git://git.infradead.org/nvme into block-6.8 (diff) | |
download | linux-rng-79bd7eab8366b29eaa099908d5694cb473684b9d.tar.xz linux-rng-79bd7eab8366b29eaa099908d5694cb473684b9d.zip |
nvme-fabrics: fix I/O connect error handling
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@nvidia.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions