diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-05 12:39:57 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-02-09 09:39:10 +0100 |
commit | 59b6986dbfcdab96a971f9663221849de79a7556 (patch) | |
tree | 1dca69e6838474bf1b5f63777aebfb060af8c83d /lib | |
parent | target/iscsi: Introduce a helper function for TMF translation (diff) | |
download | linux-59b6986dbfcdab96a971f9663221849de79a7556.tar.xz linux-59b6986dbfcdab96a971f9663221849de79a7556.zip |
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 'lib')
0 files changed, 0 insertions, 0 deletions