summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_device.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-01-05 12:39:57 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2017-02-09 00:39:10 -0800
commit59b6986dbfcdab96a971f9663221849de79a7556 (patch)
tree1dca69e6838474bf1b5f63777aebfb060af8c83d /drivers/target/target_core_device.c
parente381fe9e89909ced3d878b8c3c3a9b344c02cbdc (diff)
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