diff options
| author | Andrew Vasquez <[email protected]> | 2010-02-18 10:07:26 -0800 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-02-19 10:46:35 -0600 |
| commit | 715848ca6fffeb6362a50887d9c26245bd5dfba9 (patch) | |
| tree | 36ac766a39b039402f948b092f771bf00fbf3cf3 /scripts/patch-kernel | |
| parent | 55e5ed273d758c62d2f1fad47c73716039f7c01c (diff) | |
[SCSI] qla2xxx: Correct use-after-free issue in terminate_rport_io callback.
The explicit logout (LOGO) issued at the end of the callback will
flush (via normal scsi_cmnd->done()) any outstanding commands
(FCP2) the firmware is holding. While iterating through the
outstanding_cmnd array in qla2x00_abort_fcport_cmds(), locking
and unlocking of the hardware spinlock, opens-up the driver to
cases where the processed SRB (sp) could be used after the
command completed from interrupt context.
Cc: [email protected]
Signed-off-by: Andrew Vasquez <[email protected]>
Signed-off-by: Giridhar Malavali <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions