]> git.ipfire.org Git - thirdparty/linux.git/commit
nvme-auth: update sc_c in host response
authorMartin George <martinus.gpy@gmail.com>
Mon, 8 Sep 2025 17:24:57 +0000 (22:54 +0530)
committerKeith Busch <kbusch@kernel.org>
Tue, 14 Oct 2025 15:28:31 +0000 (08:28 -0700)
commit7e091add9c433bab6912228799bf508e2414acc3
tree7416af732ff11bbef86557f538befa91ae642b90
parentbb642e2d300ee27dcede65cda7ffc47a7047bd69
nvme-auth: update sc_c in host response

The sc_c field is currently not updated in the host response to the
controller challenge leading to failures while attempting secure
channel concatenation. Fix this by adding a new sc_c variable to the
dhchap queue context structure which is appropriately set during
negotiate and then used in the host response.

Fixes: e88a7595b57f ("nvme-tcp: request secure channel concatenation")
Signed-off-by: Martin George <marting@netapp.com>
Signed-off-by: Prashanth Adurthi <prashana@netapp.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/auth.c