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
File Mode Size
cmd
config
include
lib
man
module
rpm
scripts
AUTHORS -rw-r--r-- 859 bytes
COPYING -rw-r--r-- 17.7 KB
DISCLAIMER -rw-r--r-- 1.3 KB
META -rw-r--r-- 165 bytes
Makefile.am -rw-r--r-- 1.5 KB
Makefile.in -rw-r--r-- 39.5 KB
aclocal.m4 -rw-r--r-- 43.0 KB
autogen.sh -rwxr-xr-x 49 bytes
configure -rwxr-xr-x 600.4 KB
configure.ac -rw-r--r-- 2.5 KB
copy-builtin -rwxr-xr-x 2.5 KB
cp -rwxr-xr-x 18 bytes
dkms.conf -rw-r--r-- 1.2 KB
spl.release.in -rw-r--r-- 38 bytes
spl_config.h.in -rw-r--r-- 5.2 KB

back to top