From: root Date: Wed, 2 May 2012 14:26:56 +0000 (+0530) Subject: be2iscsi: Return async handle of unknown opcode to free list. X-Git-Tag: v2.6.39-400.9.0~423^2~46 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=87d94abfb7f7ad15a78b18fa3d0c2cca1203ca81;p=users%2Fjedix%2Flinux-maple.git 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: root --- diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index fda6b36d7dc88..4157455ceb785 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -1658,8 +1658,7 @@ hwi_fwd_async_msg(struct beiscsi_conn *beiscsi_conn, phdr, hdr_len, pfirst_buffer, offset); - if (status == 0) - hwi_free_async_msg(phba, cri); + hwi_free_async_msg(phba, cri); return 0; }