diff options
author | Jayamohan Kallickal <jayamohank@gmail.com> | 2013-04-05 20:38:31 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-05-02 08:14:07 -0700 |
commit | 4a4a11b98a39f479cdccef879635a72b0422049b (patch) | |
tree | 6258c5bb957ce940c6f0be9ab9c8eb1e8d6f121b /drivers/scsi/be2iscsi/be_iscsi.c | |
parent | 6ea9b3b0337d55c901cea38e2d85103e2268d757 (diff) |
[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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c index dd5beff92c6..5b64fd4b3c3 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; } } |