]> git.karo-electronics.de Git - linux-beck.git/commit
Fnic: Improper resue of exchange Ids
authorHiral Shah <hishah@cisco.com>
Mon, 10 Nov 2014 20:54:34 +0000 (12:54 -0800)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:10:39 +0000 (09:10 +0100)
commit35061e21a1d29dc37ab28a50e82bfcf6de81b65d
tree2a8507354cd0ffb595aac6bd118b76fda9980ca3
parent042b356a5fcf3c5a99c34208eefc572454a330bf
Fnic: Improper resue of exchange Ids

IOs belonging to an rport are aborted with Internal terminate option
when rport goes offline. Any new IO issued to the rport during this
time can reuse the terminated exchange which will cause inconsistent
state of the exchange between local port and remote port.

fc_rport_priv is set to RPORT_ST_DELETE before exchanges are aborted by
libfc. Not issuing amy more I/O requests when RPORT_ST_DELETE is set,
will avoid inconsistent state of the exchange between local port and
remote port.

- Increment fnic version from 1.6.0.13 to 1.6.0.14

Signed-off-by: Hiral Shah <hishah@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Anil Chintalapati <achintal@cisco.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_scsi.c