[PATCH v2 0/3] nvme-tcp: always set valid seq_num in dhchap reply
Mark O'Donovan
shiftee at posteo.net
Mon Oct 23 07:00:00 PDT 2023
The first patch is a small unrelated fix which makes it clear that the
response data section of the Success1 message is not optional.
The second patch removes use of the host sequence number (S2) as an
indicator of bi-directional authentication.
The third patch causes us to always set the host sequence number (S2)
to a non-zero value instead of the 0 value reserved for the secure
channel feature.
Mark O'Donovan (3):
nvme-auth: auth success1 msg always includes resp
nvme-auth: add flag for bi-directional auth
nvme-auth: always set valid seq_num in dhchap reply
drivers/nvme/host/auth.c | 13 ++++++-------
include/linux/nvme.h | 2 +-
2 files changed, 7 insertions(+), 8 deletions(-)
base-commit: 05d3ef8bba77c1b5f98d941d8b2d4aeab8118ef1
--
2.39.2
More information about the Linux-nvme
mailing list