summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2021-12-08 16:35:06 +0300
committerChristoph Hellwig <hch@lst.de>2021-12-08 18:36:58 +0300
commit30e32f300be6d0160fd1b3fc6d0f62917acd9be2 (patch)
tree9a1482fcff0fe270246b69859ac3ad601c38e16d /tools/perf/scripts/python/export-to-sqlite.py
parent8b77fa6fdce0fc7147bab91b1011048758290ca4 (diff)
downloadlinux-30e32f300be6d0160fd1b3fc6d0f62917acd9be2.tar.xz
nvmet-tcp: fix possible list corruption for unexpected command failure
nvmet_tcp_handle_req_failure needs to understand weather to prepare for incoming data or the next pdu. However if we misidentify this, we will wait for 0-length data, and queue the response although nvmet_req_init already did that. The particular command was namespace management command with no data, which was incorrectly categorized as a command with incapsule data. Also, add a code comment of what we are trying to do here. Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions