[SCSI] qla2xxx: Ensure the timer and DPC routines complete prior to midlayer tear...
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Tue, 24 Mar 2009 16:08:05 +0000 (09:08 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 3 Apr 2009 14:22:47 +0000 (09:22 -0500)
commitb9978769877c6c90c8d6777df13b9ae427af40b7
treefd894c6499004b80893ae68917ec5ba18126d586
parente612d46591e2d4fbc35541377d18ab483c211768
[SCSI] qla2xxx: Ensure the timer and DPC routines complete prior to midlayer tear-down.

Since the routines can/will use resources such as devices and
rports that aren't valid after midlayer tear-down, correct this
potential race, by stopping the offending during the early stages
of the remove() callback.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/qla2xxx/qla_os.c