linux/drivers/scsi/sym53c8xx_2
Aaro Koskinen fa8584566c [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5)
Make the sym53c8xx_2 driver slave_alloc/destroy less unsafe. References
to the destroyed LCB are cleared from the target structure (instead of
leaving a dangling pointer), and when the last LCB for the target is
destroyed the reference to the upper layer target data is cleared. The
host lock is used to prevent a race with the interrupt handler. Also
user commands are prevented for targets with all LCBs destroyed.

Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com>
Tested-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-05-20 17:21:14 -05:00
..
Makefile
sym53c8xx.h [SCSI] sym53c8xx: Remove tag_ctrl module parameter 2007-10-23 15:11:57 -04:00
sym_defs.h
sym_fw.c [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_fw.h [SCSI] sym53c8xx: Remove pci_dev pointer from sym_shcb 2007-10-23 15:26:34 -04:00
sym_fw1.h
sym_fw2.h Spelling fix: explicitly 2007-10-19 23:22:55 +02:00
sym_glue.c [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5) 2009-05-20 17:21:14 -05:00
sym_glue.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
sym_hipd.c [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5) 2009-05-20 17:21:14 -05:00
sym_hipd.h [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5) 2009-05-20 17:21:14 -05:00
sym_malloc.c [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
sym_misc.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
sym_nvram.c [SCSI] sym53c8xx: Remove ->device_id 2007-10-23 15:11:10 -04:00
sym_nvram.h