diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-05 14:39:57 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-02-09 11:39:10 +0300 |
commit | 59b6986dbfcdab96a971f9663221849de79a7556 (patch) | |
tree | 1dca69e6838474bf1b5f63777aebfb060af8c83d /drivers/target/target_core_device.c | |
parent | e381fe9e89909ced3d878b8c3c3a9b344c02cbdc (diff) | |
download | linux-59b6986dbfcdab96a971f9663221849de79a7556.tar.xz |
target/iscsi: Fix iSCSI task reassignment handling
Allocate a task management request structure for all task management
requests, including task reassignment. This change avoids that the
se_tmr->response assignment dereferences an uninitialized se_tmr
pointer.
Reported-by: Moshe David <mdavid@infinidat.com>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Moshe David <mdavid@infinidat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_device.c')
0 files changed, 0 insertions, 0 deletions