[PATCH v2 1/4] nvmet-tcp: Don't error if TLS is enabed on a reset
Hannes Reinecke
hare at suse.de
Tue Nov 11 23:05:55 PST 2025
On 11/12/25 00:45, alistair23 at gmail.com wrote:
> From: Alistair Francis <alistair.francis at wdc.com>
>
> If the host sends a AUTH_Negotiate Message on the admin queue with
> REPLACETLSPSK set then we expect and require a TLS connection and
> shouldn't report an error if TLS is enabled.
>
> This change only enforces the nvmet_queue_tls_keyid() check if we aren't
> resetting the negotiation.
>
> Signed-off-by: Alistair Francis <alistair.francis at wdc.com>
> ---
> v2:
> - Fixup long line
>
> drivers/nvme/target/auth.c | 4 ++--
> drivers/nvme/target/core.c | 2 +-
> drivers/nvme/target/fabrics-cmd-auth.c | 3 ++-
> drivers/nvme/target/nvmet.h | 4 ++--
> 4 files changed, 7 insertions(+), 6 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich
More information about the Linux-nvme
mailing list