https://github.com/torvalds/linux
Revision 3934df345aaa43af0f11b7d51981257bd8b67b8b authored by Mike Christie on 15 January 2018, 20:37:59 UTC, committed by Bryant G. Ly on 28 February 2018, 20:06:40 UTC
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>
1 parent dbe0803
History
Tip revision: 3934df345aaa43af0f11b7d51981257bd8b67b8b authored by Mike Christie on 15 January 2018, 20:37:59 UTC
tcmu: fix cmd user after free
Tip revision: 3934df3

back to top