[PATCH 3/4] nvmet: return DHCHAP status codes from nvmet_setup_auth()

Sagi Grimberg sagi at grimberg.me
Thu Mar 7 00:56:19 PST 2024



On 01/03/2024 13:28, Hannes Reinecke wrote:
> A failure in nvmet_setup_auth() does not mean that the NVMe
> authentication command failed, so we should rather return a
> protocol error with a 'failure1' response than an NVMe status.

Shouldn't nvmet reply NVME_SC_INTERNAL like in other similar
cases?



More information about the Linux-nvme mailing list