From: Vasu Dev Date: Fri, 28 Oct 2011 18:34:12 +0000 (-0700) Subject: [SCSI] libfc: fix checking FC_TYPE_BLS X-Git-Tag: v3.2-rc1~44^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14fc315fa30d128760c7edeff56530142576cd2e;p=pandora-kernel.git [SCSI] libfc: fix checking FC_TYPE_BLS Its checked after skb freed, so instead have fh_type cached and then check FC_TYPE_BLS against cached fh_type value. This wrong check was causing double exch locking as reported by Bhanu at https://lists.open-fcoe.org/pipermail/devel/2011-October/011793.html Signed-off-by: Vasu Dev Tested-by: Bhanu Prakash Gollapudi Signed-off-by: Yi Zou Signed-off-by: James Bottomley --- Reading git-diff-tree failed