summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_iscsi.c
diff options
context:
space:
mode:
authorJayamohan Kallickal2013-04-06 05:38:31 +0200
committerJames Bottomley2013-05-02 17:14:07 +0200
commit4a4a11b98a39f479cdccef879635a72b0422049b (patch)
tree6258c5bb957ce940c6f0be9ab9c8eb1e8d6f121b /drivers/scsi/be2iscsi/be_iscsi.c
parent[SCSI] be2iscsi: Fix the Port Link Status issue (diff)
downloadkernel-qcow2-linux-4a4a11b98a39f479cdccef879635a72b0422049b.tar.gz
kernel-qcow2-linux-4a4a11b98a39f479cdccef879635a72b0422049b.tar.xz
kernel-qcow2-linux-4a4a11b98a39f479cdccef879635a72b0422049b.zip
[SCSI] be2iscsi : Fix the NOP-In handling code path
When target send a NOP-IN with valid TTT, driver issues a NOP-OUT and the task was not freed from driver. The task list available for the session used to run out, and as no more task list were available no more iSCSI commands were exchanged on that session. This patches fixed the issue, by calling iscsi_put_task. Signed-off-by: Minh Tran <minhduc.tran@emulex.com> Signed-off-by: John Soni Jose <sony.john-n@emulex.com> Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_iscsi.c')
-rw-r--r--drivers/scsi/be2iscsi/be_iscsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c
index dd5beff92c61..5b64fd4b3c35 100644
--- a/drivers/scsi/be2iscsi/be_iscsi.c
+++ b/drivers/scsi/be2iscsi/be_iscsi.c
@@ -1005,7 +1005,8 @@ static void beiscsi_free_ep(struct beiscsi_endpoint *beiscsi_ep)
beiscsi_conn = beiscsi_ep->conn;
if (beiscsi_conn->login_in_progress) {
- beiscsi_free_mgmt_task_handles(beiscsi_conn);
+ beiscsi_free_mgmt_task_handles(beiscsi_conn,
+ beiscsi_conn->task);
beiscsi_conn->login_in_progress = 0;
}
}