diff options
author | Christof Schmitt | 2009-04-17 15:08:15 +0200 |
---|---|---|
committer | James Bottomley | 2009-04-27 17:07:37 +0200 |
commit | 70932935b61ee3dcc5a419ec4c367feb2ff808e4 (patch) | |
tree | 67e0925b8a44b3e163e4da36ecff299ba9e842bf /drivers/scsi/iscsi_tcp.c | |
parent | [SCSI] zfcp: Reference counting for cfdc requests (diff) | |
download | kernel-qcow2-linux-70932935b61ee3dcc5a419ec4c367feb2ff808e4.tar.gz kernel-qcow2-linux-70932935b61ee3dcc5a419ec4c367feb2ff808e4.tar.xz kernel-qcow2-linux-70932935b61ee3dcc5a419ec4c367feb2ff808e4.zip |
[SCSI] zfcp: Fix oops when port disappears
The zfcp_port might have been removed, while the FC fast_io_fail timer
is still running and could trigger the terminate_rport_io callback.
Set the pointer to the zfcp_port to NULL and check accordingly
before using it.
Reviewed-by: Martin Petermann <martin@linux.vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/iscsi_tcp.c')
0 files changed, 0 insertions, 0 deletions