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
File Mode Size
Makefile -rw-r--r-- 361 bytes
compat.c -rw-r--r-- 2.2 KB
ipc_sysctl.c -rw-r--r-- 6.1 KB
mq_sysctl.c -rw-r--r-- 2.7 KB
mqueue.c -rw-r--r-- 43.4 KB
msg.c -rw-r--r-- 31.6 KB
msgutil.c -rw-r--r-- 3.6 KB
namespace.c -rw-r--r-- 5.1 KB
sem.c -rw-r--r-- 63.2 KB
shm.c -rw-r--r-- 43.1 KB
syscall.c -rw-r--r-- 5.1 KB
util.c -rw-r--r-- 23.6 KB
util.h -rw-r--r-- 8.9 KB

back to top