[SCSI] libfc: Check if exchange is completed when receiving a sequence
authorSteve Ma <steve.ma@intel.com>
Wed, 6 May 2009 17:52:29 +0000 (10:52 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:29:11 +0000 (13:29 -0500)
commit30121d14f503dac056ee7f68d99eb5d548899b59
tree558f950c8bf620347344b84d0bff60be464366db
parentd5e6054a0a097527b3920a8a0aefe7f830c014fd
[SCSI] libfc: Check if exchange is completed when receiving a sequence

When a sequence is received in response to an exchange we issued previously,
we should check to see if the exchange has completed. If yes, the sequence
should be discarded. Since the exchange might be still in the completion
process, it should be untouched.

Signed-off-by: Steve Ma <steve.ma@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libfc/fc_exch.c