]> 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)
commit383037c16c7a3dd1c6c5eb2c805150a6bc035e49
tree2a8507354cd0ffb595aac6bd118b76fda9980ca3
parent74bf0413ecaa9e5ae7d9a8a89e96dbe1c30628f0
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