aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorAlistair Francis <[email protected]>2025-11-06 23:17:11 +0000
committerKeith Busch <[email protected]>2025-11-17 16:05:58 +0000
commit159de7a825aea4242d3f8d32de5853d269dbe72f (patch)
tree30356fd2031ce8fce52f79610f971111321e3110 /lib/test_fortify/write_overflow-strlcpy-src.c
parentnvme: fix admin request_queue lifetime (diff)
downloadkernel-159de7a825aea4242d3f8d32de5853d269dbe72f.tar.gz
kernel-159de7a825aea4242d3f8d32de5853d269dbe72f.zip
nvmet-auth: update sc_c in target host hash calculation
Commit 7e091add9c43 "nvme-auth: update sc_c in host response" added the sc_c variable to the dhchap queue context structure which is appropriately set during negotiate and then used in the host response. This breaks secure concat connections with a Linux target as the target code wasn't updated at the same time. This patch fixes this by adding a new sc_c variable to the host hash calculations. Fixes: 7e091add9c43 ("nvme-auth: update sc_c in host response") Tested-by: Shin'ichiro Kawasaki <[email protected]> Tested-by: Yi Zhang <[email protected]> Reviewed-by: Martin George <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Signed-off-by: Alistair Francis <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions