]> Gentwo Git Trees - linux/.git/commit
nvmet-auth: update sc_c in host response
authorHannes Reinecke <hare@suse.de>
Wed, 22 Oct 2025 07:59:24 +0000 (09:59 +0200)
committerKeith Busch <kbusch@kernel.org>
Thu, 23 Oct 2025 00:28:18 +0000 (17:28 -0700)
commit60ad1de8e59278656092f56e87189ec82f078d12
treed955dff4499a8b29409ab5e8ba690b27d12e744f
parent4c8cf6bd28d6fea23819f082ddc8063fd6fa963a
nvmet-auth: update sc_c in host response

The target code should set the sc_c bit in calculating the host response
based on the status of the 'concat' setting, otherwise we'll get an
authentication mismatch for hosts setting that bit correctly.

Fixes: 7e091add9c43 ("nvme-auth: update sc_c in host response")
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/auth.c