diff options
| author | Amit Engel <[email protected]> | 2021-10-27 06:49:27 +0000 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2021-10-27 07:20:50 +0000 |
| commit | 86aeda32b887cdaeb0f4b7bfc9971e36377181c7 (patch) | |
| tree | 5920c61889ab58caf3c3e2a18546b87657fd6a21 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | nvmet-tcp: fix data digest pointer calculation (diff) | |
| download | kernel-86aeda32b887cdaeb0f4b7bfc9971e36377181c7.tar.gz kernel-86aeda32b887cdaeb0f4b7bfc9971e36377181c7.zip | |
nvmet-tcp: fix header digest verification
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 <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
