diff options
author | Jayamohan Kallickal <jayamohan.kallickal@emulex.com> | 2012-04-04 00:41:48 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-04-25 04:27:40 -0400 |
commit | 605c6cd201714535e2723a60197228050f863a8f (patch) | |
tree | 29463a985782a3b064ed314e62b0609c25685249 /drivers/scsi/be2iscsi | |
parent | 9728d8d035a539072bf4dc6162a9f4e7f35ce012 (diff) |
[SCSI] be2iscsi: Return async handle of unknown opcode to free list.
The async handle corresponding to unknown Opcode was not freed
earlier. This code does the fix for that.
Signed-off-by: John Soni Jose <sony.john-n@emulex.com>
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index dad66de50aa0..d0c7d97769c3 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c | |||
@@ -1659,8 +1659,7 @@ hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn, | |||
1659 | phdr, hdr_len, pfirst_buffer, | 1659 | phdr, hdr_len, pfirst_buffer, |
1660 | offset); | 1660 | offset); |
1661 | 1661 | ||
1662 | if (status == 0) | 1662 | hwi_free_async_msg(phba, cri); |
1663 | hwi_free_async_msg(phba, cri); | ||
1664 | return 0; | 1663 | return 0; |
1665 | } | 1664 | } |
1666 | 1665 | ||