Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Jayamohan Kallickal and committed by
James Bottomley
605c6cd2 9728d8d0

+1 -2
+1 -2
drivers/scsi/be2iscsi/be_main.c
··· 1659 1659 phdr, hdr_len, pfirst_buffer, 1660 1660 offset); 1661 1661 1662 - if (status == 0) 1663 - hwi_free_async_msg(phba, cri); 1662 + hwi_free_async_msg(phba, cri); 1664 1663 return 0; 1665 1664 } 1666 1665