diff options
author | Mike Christie <mchristi@redhat.com> | 2018-01-15 14:37:59 -0600 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2018-01-18 01:21:23 -0800 |
commit | 45dc488c0ee19ba5cba7a67be473aeaf88a7447e (patch) | |
tree | a37b736ecadc936992f4fca4500ff2d1afc14e87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c82b59e7c3f81059b1d280e21028c7ac8451dd52 (diff) |
tcmu: fix cmd user after free
If we are failing the command due to a qfull timeout we are
also freeing the tcmu command, so we cannot access it later
to get the se_cmd.
Note: The clearing of cmd->se_cmd is not needed. We do not check
it later for something like determining if the command was failed
due to a timeout. As a result I am dropping it.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions