https://github.com/torvalds/linux
Revision 86aeda32b887cdaeb0f4b7bfc9971e36377181c7 authored by Amit Engel on 27 October 2021, 06:49:27 UTC, committed by Christoph Hellwig on 27 October 2021, 07:20:50 UTC
Pass the correct length to nvmet_tcp_verify_hdgst, which is the pdu
header length.  This fixes a wrong behaviour where header digest
verification passes although the digest is wrong.

Signed-off-by: Amit Engel <amit.engel@dell.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent e790de5
History
Tip revision: 86aeda32b887cdaeb0f4b7bfc9971e36377181c7 authored by Amit Engel on 27 October 2021, 06:49:27 UTC
nvmet-tcp: fix header digest verification
Tip revision: 86aeda3

back to top