diff options
author | Bart Van Assche | 2017-10-31 19:03:17 +0100 |
---|---|---|
committer | Nicholas Bellinger | 2017-11-04 23:16:06 +0100 |
commit | cfe2b621bb18d86e93271febf8c6e37622da2d14 (patch) | |
tree | 1abe89ba7926820e4b7edaf7934933311759ee9a /drivers/target/iscsi/iscsi_target_util.c | |
parent | target/iscsi: Modify iscsit_do_crypto_hash_buf() prototype (diff) | |
download | kernel-qcow2-linux-cfe2b621bb18d86e93271febf8c6e37622da2d14.tar.gz kernel-qcow2-linux-cfe2b621bb18d86e93271febf8c6e37622da2d14.tar.xz kernel-qcow2-linux-cfe2b621bb18d86e93271febf8c6e37622da2d14.zip |
target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd()
Avoid that cmd->se_cmd.se_tfo is read after a command has already been
freed.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Mike Christie <mchristi@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi/iscsi_target_util.c')
0 files changed, 0 insertions, 0 deletions