diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2021-03-15 14:08:11 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2021-03-18 05:39:01 +0100 |
commit | fd0823f405090f9f410fc3e3ff7efb52e7b486fa (patch) | |
tree | f1449dc8e8b3931ecc45327c6942d7f1c683e2d9 /tools/perf/scripts/python/stat-cpi.py | |
parent | b94e8cd2e6a94fc7563529ddc82726a7e77e04de (diff) |
nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
When the controller sends us a 0-length r2t PDU we should not attempt to
try to set up a h2cdata PDU but rather conclude that this is a buggy
controller (forward progress is not possible) and simply fail it
immediately.
Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
Reported-by: Belanger, Martin <Martin.Belanger@dell.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions