From: Jayamohan Kallickal Date: Wed, 29 Jan 2014 07:16:39 +0000 (-0500) Subject: [SCSI] be2iscsi: Fix handling timed out MBX completion from FW X-Git-Tag: v3.15-rc1~136^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1957aa7f6246;p=pandora-kernel.git [SCSI] be2iscsi: Fix handling timed out MBX completion from FW When an MBX command timeout happens,the resources associated with the MBX command were freed. If FW were to give the response to host after the timeout value set by driver then driver crashes as the MBX Cmd resources were already freed. This patch fixes this issue by maintaing a state flag for each of the MBX command posted/timedout/completed. Signed-off-by: John Soni Jose Signed-off-by: Jayamohan Kallickal Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed