commit | 186a9647019587b3784694894c4d136fd00cfd7b | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Wed Jul 03 03:11:48 2013 -0700 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Jul 06 22:01:23 2013 -0700 |
tree | 47864da1726666d59bfa20a9b346b06d4b948218 | |
parent | 561bf15892375597ee59d473a704a3e634c4f311 [diff] |
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>