From: Vasu Dev Date: Mon, 16 May 2011 23:45:51 +0000 (-0700) Subject: [SCSI] libfc: fix race in SRR response X-Git-Tag: v3.0-rc1~33^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a219edb263ef93e4fd7a83804bea667e72a7bfa;p=pandora-kernel.git [SCSI] libfc: fix race in SRR response In this case fsp was freed before error handler was invoked, this is fixed by having SRR fsp reference freed by exch destructor so that fsp will be always held until it exch is freed. Also don't reset fsp->recov_seq since this is needed by SRR error handler to do exch done. Signed-off-by: Vasu Dev Tested-by: Ross Brattain Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed