]> err.no Git - linux-2.6/commit
[SCSI] qla2xxx: Correct SRB usage-after-completion/free issues.
authorAndrew Vasquez <andrew.vasquez@qlogic.com>
Thu, 24 Apr 2008 22:21:25 +0000 (15:21 -0700)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sun, 27 Apr 2008 17:19:58 +0000 (12:19 -0500)
commit0c23b856581673c90aa619b1ab04127a7f90cea2
tree60bcebbe128c331fe9c49ed70ec18f8516ec2939
parentc1ec1f1bf9cb1ba80e79a74d48bcfb5da246d6f6
[SCSI] qla2xxx: Correct SRB usage-after-completion/free issues.

The driver is incorrectly assuming that the 'sp' reference held
in qla2[x00|4xx]_abort_command() is valid after the mailbox
command is issued to abort the exchange.  It is *not*, as the
command may be completed during interrupt context before control
is returned to the mailbox caller.

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