From: Nicholas Bellinger Date: Wed, 3 Jul 2013 10:11:48 +0000 (-0700) Subject: iscsi-target: Fix ISCSI_OP_SCSI_TMFUNC handling for iser X-Git-Tag: v3.11-rc1~22^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=186a9647019587b3784694894c4d136fd00cfd7b;p=pandora-kernel.git 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 --- Reading git-diff-tree failed