]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvme-fabrics: reset admin connection for secure concatenation
authorHannes Reinecke <hare@kernel.org>
Mon, 24 Feb 2025 12:38:15 +0000 (13:38 +0100)
committerKeith Busch <kbusch@kernel.org>
Thu, 20 Mar 2025 23:53:54 +0000 (16:53 -0700)
commit104d0e2f622233477ef7e57e59e8a4c3bb062c82
treef708246175d90952891106f542918dd7b9c7b327
parente88a7595b57f2a04f1be796419444b4a14a55d18
nvme-fabrics: reset admin connection for secure concatenation

When secure concatenation is requested the connection needs to be
reset to enable TLS encryption on the new cnnection.
That implies that the original connection used for the DH-CHAP
negotiation really shouldn't be used, and we should reset as soon
as the DH-CHAP negotiation has succeeded on the admin queue.

Based on an idea from Sagi.

Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c