]> Gentwo Git Trees - linux/.git/commit
nvme-auth: update bi_directional flag
authorMartin George <martinus.gpy@gmail.com>
Mon, 15 Sep 2025 11:49:21 +0000 (17:19 +0530)
committerKeith Busch <kbusch@kernel.org>
Mon, 15 Sep 2025 15:26:30 +0000 (08:26 -0700)
commit6ff1bd7846680dfdaafc68d7fcd0ab7e3bcbc4a0
tree91245c865ecd566f9f1659be65bd6e74acdc4d88
parent34585dc649fb255b40075dab56af063c1bfc9933
nvme-auth: update bi_directional flag

While setting chap->s2 to zero as part of secure channel
concatenation, the host missed out to disable the bi_directional
flag to indicate that controller authentication is not requested.
Fix the same.

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