summaryrefslogtreecommitdiffstats
path: root/drivers/android
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2017-10-28 05:52:56 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2017-11-08 04:51:24 +0100
commit3fc9fb13a4b2576aeab86c62fd64eb29ab68659c (patch)
tree851eb117f2a8a2b7cca58bc460dabcae09b0a598 /drivers/android
parentiscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref (diff)
downloadlinux-3fc9fb13a4b2576aeab86c62fd64eb29ab68659c.tar.xz
linux-3fc9fb13a4b2576aeab86c62fd64eb29ab68659c.zip
iscsi-target: Fix non-immediate TMR reference leak
This patch fixes a se_cmd->cmd_kref reference leak that can occur when a non immediate TMR is proceeded our of command sequence number order, and CMDSN_LOWER_THAN_EXP is returned by iscsit_sequence_cmd(). To address this bug, call target_put_sess_cmd() during this special case following what iscsit_process_scsi_cmd() does upon CMDSN_LOWER_THAN_EXP. Cc: Mike Christie <mchristi@redhat.com> Cc: Hannes Reinecke <hare@suse.com> Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/android')
0 files changed, 0 insertions, 0 deletions