diff options
author | Sagi Grimberg <[email protected]> | 2022-09-05 13:54:17 +0300 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2022-09-06 06:40:40 +0200 |
commit | 160f3549a907a50e51a8518678ba2dcf2541abea (patch) | |
tree | 7cd6018eb57355fd8bef27bda7aa27e17a4fd24b /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 6a02a61e81c231cc5c680c5dbf8665275147ac52 (diff) |
nvme-tcp: fix UAF when detecting digest errors
We should also bail from the io_work loop when we set rd_enabled to true,
so we don't attempt to read data from the socket when the TCP stream is
already out-of-sync or corrupted.
Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
Reported-by: Daniel Wagner <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions