]> git.baikalelectronics.ru Git - kernel.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)
commit8b426eb5dafd0fca17d94b9181c6befe00a47a35
tree2a8507354cd0ffb595aac6bd118b76fda9980ca3
parent115af358a864f438a5c997a4967a6b1eea9e808b
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