summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorSteve Ma <steve.ma@intel.com>2009-02-27 19:55:13 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-06 22:40:45 +0100
commitf7db2c150cf5082cf74555f30a1305938041de80 (patch)
tree51d92a06ddb32fb0fd7757e67f3e3f8c81b39b0b /include/scsi
parent[SCSI] libfc: fixed a read IO data integrity issue when a IO data frame lost (diff)
downloadlinux-f7db2c150cf5082cf74555f30a1305938041de80.tar.xz
linux-f7db2c150cf5082cf74555f30a1305938041de80.zip
[SCSI] libfc: exch mgr is freed while lport still retrying sequences
When a sequence cannot be delivered to the target, the local port will schedule retries, While this process is in progress, if we destroy the FCoE interface, the fcoe_sw_destroy routine is entered, and the fc_exch_mgr_free(lp->emp) is called. Thus if fc_exch_alloc() is called when retrying the sequence, the mempool_alloc() will fail to allocate the exchange because the mempool of the exchange manager has already been released. This patch is to cancel any pending retry work of the local port before we start to destroy the interface. Also, when resetting the local port, we should also stop the scheduled pending retries. Signed-off-by: Steve Ma <steve.ma@intel.com> Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi')
0 files changed, 0 insertions, 0 deletions