[SCSI] qla2xxx: Correct use-after-free oops seen during EH-abort.
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Fri, 28 May 2010 22:08:18 +0000 (15:08 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:01:20 +0000 (12:01 -0500)
commit083a469db4ecf3b286a96b5b722c37fc1affe0be
treeaa9aef39e8933b5cc75e3af5a5d63352bb7e2776
parent7e2b895b93db603ac3462175baa846ebf1be44da
[SCSI] qla2xxx: Correct use-after-free oops seen during EH-abort.

Hold a reference to the srb (sp) while aborting an I/O -- as the
I/O can/will complete from within the interrupt-context.

Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_os.c