kernel-ark/drivers/s390/scsi
Swen Schillig 0ac55aa90f [SCSI] zfcp: eliminate race between validation and locking
The check of having a valid pointer was performed before the
processing was secured by the lock. Between those two steps the
pointer can turn invalid.  During further processing another value is
used (referenced by the pointer described above) as a function pointer
which is never verified to be valid either, resulting under some
circumstances in an invalid function call.  This patch is fixing both
issues.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-12-01 10:17:50 -06:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: Fix cast warning 2008-11-05 12:47:03 -05:00
zfcp_ccw.c [SCSI] zfcp: Wait for port scan to complete when setting adapter online 2008-11-05 12:47:19 -05:00
zfcp_cfdc.c [SCSI] zfcp: Move CFDC code to new file. 2008-07-12 08:22:25 -05:00
zfcp_dbf.c [SCSI] zfcp: Fix hexdump data in s390dbf traces 2008-11-05 12:47:55 -05:00
zfcp_dbf.h [SCSI] zfcp: Fix hexdump data in s390dbf traces 2008-11-05 12:47:55 -05:00
zfcp_def.h blktrace: pass zfcp driver data 2008-10-17 08:46:57 +02:00
zfcp_erp.c [SCSI] zfcp: verify for correct rport state before scanning for SCSI devs 2008-12-01 10:17:34 -06:00
zfcp_ext.h [SCSI] zfcp: put threshold data in hba trace 2008-10-03 12:11:55 -05:00
zfcp_fc.c [SCSI] zfcp: Fix opening of wka ports 2008-12-01 10:16:59 -06:00
zfcp_fsf.c [SCSI] zfcp: eliminate race between validation and locking 2008-12-01 10:17:50 -06:00
zfcp_fsf.h blktrace: pass zfcp driver data 2008-10-17 08:46:57 +02:00
zfcp_qdio.c blktrace: pass zfcp driver data 2008-10-17 08:46:57 +02:00
zfcp_scsi.c [SCSI] zfcp: Dont clear reference from SCSI device to unit 2008-11-05 12:44:15 -05:00
zfcp_sysfs.c [S390] more bus_id -> dev_name conversions 2008-10-10 21:33:50 +02:00