commit | 45dc488c0ee19ba5cba7a67be473aeaf88a7447e | [log] [tgz] |
---|---|---|
author | Mike Christie <mchristi@redhat.com> | Mon Jan 15 14:37:59 2018 -0600 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Thu Jan 18 01:21:23 2018 -0800 |
tree | a37b736ecadc936992f4fca4500ff2d1afc14e87 | |
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>