commit | cfe2b621bb18d86e93271febf8c6e37622da2d14 | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@wdc.com> | Tue Oct 31 11:03:17 2017 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Nov 04 15:16:06 2017 -0700 |
tree | 1abe89ba7926820e4b7edaf7934933311759ee9a | |
parent | e1dfb21f004f403a16539e8a037963b57a25e0ad [diff] |
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>