Files
linux/drivers
Nicholas Bellinger b850daeffa iscsi-target: Fix non-immediate TMR reference leak
commit 3fc9fb13a4 upstream.

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>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-30 08:39:06 +00:00
..
2016-12-05 14:53:46 -05:00
2017-11-24 08:33:42 +01:00
2017-10-18 09:35:38 +02:00
2017-10-12 11:51:24 +02:00
2017-11-08 10:08:34 +01:00
2017-09-09 17:39:41 +02:00
2016-09-20 20:57:12 +10:00
2017-11-21 09:23:25 +01:00