diff options
| author | Mike Christie <[email protected]> | 2009-03-05 20:46:07 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2009-03-13 20:29:54 +0000 |
| commit | 728996829b3e2a3bbacb7390e6c040dd839cdf21 (patch) | |
| tree | e2e0b41faa980aeb78c0cd407dec26c73a8c7514 /drivers/scsi/mpt2sas/mpi/mpi2_ioc.h | |
| parent | [SCSI] iscsi class: remove host no argument from session creation callout (diff) | |
| download | kernel-728996829b3e2a3bbacb7390e6c040dd839cdf21.tar.gz kernel-728996829b3e2a3bbacb7390e6c040dd839cdf21.zip | |
[SCSI] libiscsi: fix possbile null ptr session command cleanup
If the iscsi eh fires when the current task is a nop, then
the task->sc pointer is null. fail_all_commands could
then try to do task->sc->device and oops. We actually do
not need to access the curr task in this path, because
if it is a cmd task the fail_command call will handle
this and if it is mgmt task then the flush of the mgmt
queues will handle that.
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_ioc.h')
0 files changed, 0 insertions, 0 deletions
