diff options
author | 2024-01-05 09:14:44 +0100 | |
---|---|---|
committer | 2024-01-08 10:09:53 -0800 | |
commit | 9a1abc24850eb759e36a2f8869161c3b7254c904 (patch) | |
tree | 889347619d89a52dc0c402e460d2142bed27b0ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nvme-tcp: enhance timeout kernel log (diff) | |
download | wireguard-linux-9a1abc24850eb759e36a2f8869161c3b7254c904.tar.xz wireguard-linux-9a1abc24850eb759e36a2f8869161c3b7254c904.zip |
nvmet-tcp: Fix the H2C expected PDU len calculation
The nvmet_tcp_handle_h2c_data_pdu() function should take into
consideration the possibility that the header digest and/or the data
digests are enabled when calculating the expected PDU length, before
comparing it to the value stored in cmd->pdu_len.
Fixes: efa56305908b ("nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length")
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions