mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 03:49:57 -04:00
nvme-auth: auth success1 msg always includes resp
In cases where RVALID is false, the response is still transmitted, but is cleared to zero. Relevant extract from the spec: Response R2, if valid (i.e., if the RVALID field is set to 01h), cleared to 0h otherwise Signed-off-by: Mark O'Donovan <shiftee@posteo.net> Reviewed-by: Hannes Reinecke <hare@suse.de> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Keith Busch
parent
1147dd0503
commit
75276847f4
@@ -1732,7 +1732,7 @@ struct nvmf_auth_dhchap_success1_data {
|
||||
__u8 rsvd2;
|
||||
__u8 rvalid;
|
||||
__u8 rsvd3[7];
|
||||
/* 'hl' bytes of response value if 'rvalid' is set */
|
||||
/* 'hl' bytes of response value */
|
||||
__u8 rval[];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user