diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-07-03 03:11:48 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-07-06 22:01:23 -0700 |
commit | 186a9647019587b3784694894c4d136fd00cfd7b (patch) | |
tree | 47864da1726666d59bfa20a9b346b06d4b948218 /include/target | |
parent | 561bf15892375597ee59d473a704a3e634c4f311 (diff) | |
download | linux-stable-186a9647019587b3784694894c4d136fd00cfd7b.tar.gz linux-stable-186a9647019587b3784694894c4d136fd00cfd7b.tar.bz2 linux-stable-186a9647019587b3784694894c4d136fd00cfd7b.zip |
iscsi-target: Fix ISCSI_OP_SCSI_TMFUNC handling for iser
This patch adds target_get_sess_cmd reference counting for
iscsit_handle_task_mgt_cmd(), and adds a target_put_sess_cmd()
for the failure case.
It also fixes a bug where ISCSI_OP_SCSI_TMFUNC type commands
where leaking iscsi_cmd->i_conn_node and eventually triggering
an OOPs during struct isert_conn shutdown.
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'include/target')
0 files changed, 0 insertions, 0 deletions