From: Joe Eykholt Date: Tue, 25 Aug 2009 21:02:17 +0000 (-0700) Subject: [SCSI] libfc: discovery restart sequence error fix X-Git-Tag: v2.6.32-rc1~689^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c356afd48690775097507c37780ee17c0b0ea375;p=pandora-kernel.git [SCSI] libfc: discovery restart sequence error fix When an RSCN is received during fabric discovery, it restarts. After the restart, disc->seq_count was incremented, so when the first frame was received, it was considered "out of sequence". That left the state disc->active, preventing further discoveries. Change to advance the sequence count before parsing, so that it won't be changed after a potential restart. Signed-off-by: Joe Eykholt Signed-off-by: Robert Love Signed-off-by: James Bottomley --- Reading git-diff-tree failed