kernel-ark/drivers/scsi
Brian King 66e0522526 [PATCH] Fix SCSI scanning slab corruption
There is a double free in the scsi scan code if a LLDD's slave_alloc()
call fails.  There is a direct call to scsi_free_queue and then the
following put_device calls the release function, which also frees the
queue.

Remove the redundant scsi_free_queue.

Signed-off-by: Brian King <brking@us.ibm.com>
Tested-by: Nathan Lynch <ntl@pobox.com>
[ Also removed some strange whitespace artifacts in that area ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-12-12 12:35:39 -08:00
..
aacraid [SCSI] aacraid: Check scsi_bios_ptabe return code 2005-12-01 15:59:44 -06:00
aic7xxx [SCSI] aic7xxx: reset handler selects a wrong command 2005-11-28 12:28:26 -06:00
aic7xxx_old
arm [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
dpt
ibmvscsi merge filename and modify references to iseries/vio.h 2005-11-02 15:13:57 +11:00
lpfc [PATCH] lpfc build fix 2005-11-10 21:25:04 -08:00
megaraid Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
pcmcia [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
qla2xxx [SCSI] qla2xxx: Update version number to 8.01.03-k. 2005-11-09 16:19:44 -05:00
sym53c8xx_2 [SCSI] sym2: Disable IU and QAS negotiation 2005-12-01 15:59:50 -06:00
3w-9xxx.c [PATCH] kfree cleanup: drivers/scsi 2005-11-07 07:54:01 -08:00
3w-9xxx.h
3w-xxxx.c
3w-xxxx.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
53c7xx_d.h_shipped
53c7xx_u.h_shipped
53c7xx.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
53c7xx.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
53c7xx.scr
53c700_d.h_shipped
53c700.c
53c700.h
53c700.scr
a100u2w.c
a100u2w.h
a2091.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
a2091.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
a3000.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
a3000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
advansys.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
advansys.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha152x.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha152x.h
aha1542.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1542.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1740.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
aha1740.h
ahci.c [libata] bump versions 2005-11-16 11:06:59 -05:00
aic7xxx_old.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
amiga7xx.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
amiga7xx.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ata_piix.c [libata] bump versions 2005-11-16 11:06:59 -05:00
atari_dma_emul.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
atari_NCR5380.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atari_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atari_scsi.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
atp870u.c
atp870u.h
blz1230.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
blz2060.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
BusLogic.c
BusLogic.h
bvme6000.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
bvme6000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ch.c Merge by Hand 2005-11-04 22:29:52 -06:00
constants.c
cyberstorm.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
cyberstormII.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dc395x.c [PATCH] kfree cleanup: drivers/scsi 2005-11-07 07:54:01 -08:00
dc395x.h
dec_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dmx3191d.c
dpt_i2o.c [PATCH] drivers/scsi/dpt_i2o.c: fix a NULL pointer dereference 2005-11-27 20:23:46 -08:00
dpti.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dtc.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
dtc.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
eata_generic.h
eata_pio.c
eata_pio.h
eata.c [PATCH] kfree cleanup: drivers/scsi 2005-11-07 07:54:01 -08:00
esp.c
esp.h
fastlane.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
fcal.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
fcal.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
fd_mcs.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
fdomain.c
fdomain.h
FlashPoint.c
g_NCR5380_mmio.c
g_NCR5380.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
g_NCR5380.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
gdth_ioctl.h
gdth_kcompat.h
gdth_proc.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gdth_proc.h
gdth.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gdth.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
gvp11.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
gvp11.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
hosts.c Merge by Hand 2005-11-04 22:29:52 -06:00
hosts.h
ibmmca.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
ibmmca.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ide-scsi.c [PATCH] ide: remove ide_driver_t.owner field 2005-11-18 22:15:40 +01:00
imm.c
imm.h
in2000.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
in2000.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
initio.c
initio.h
ipr.c [SCSI] ipr: Better handle failure of adapter bringup commands 2005-11-06 13:12:56 -06:00
ipr.h [SCSI] ipr: Driver version 2.1.0 2005-11-06 13:13:11 -06:00
ips.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
ips.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
iscsi_tcp.c
iscsi_tcp.h
jazz_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
Kconfig [libata sata_mv] note driver is "HIGHLY EXPERIMENTAL" in Kconfig 2005-11-12 12:40:41 -05:00
lasi700.c
libata-core.c [libata] add timeout to commands for which we call wait_completion() 2005-11-17 10:50:01 -05:00
libata-scsi.c [PATCH] libata: fix ata_scsi_pass_thru error handling 2005-12-03 20:31:16 -05:00
libata.h [libata] bump versions 2005-11-16 11:06:59 -05:00
mac53c94.c
mac53c94.h
mac_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mac_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mac_scsi.h
Makefile [SCSI] remove the obsolete SCSI qlogicisp driver 2005-11-06 12:57:05 -06:00
mca_53c9x.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
megaraid.c [PATCH] fix megaraid.c locking 2005-11-29 13:03:01 -08:00
megaraid.h [SCSI] megaraid (legacy): remove scsi_assign_lock usage 2005-11-06 12:51:48 -06:00
mesh.c [PATCH] Typo fix: explictly -> explicitly 2005-10-30 17:37:20 -08:00
mesh.h
mvme16x.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
mvme16x.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
mvme147.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
mvme147.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ncr53c8xx.c
ncr53c8xx.h
NCR53c406a.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
NCR53C9x.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
NCR53C9x.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
NCR5380.c [PATCH] drivers/scsi: fix-up schedule_timeout() usage 2005-11-07 07:53:59 -08:00
NCR5380.h
NCR_D700.c
NCR_D700.h
NCR_Q720.c
NCR_Q720.h
nsp32_debug.c
nsp32_io.h
nsp32.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
nsp32.h [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
oktagon_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
oktagon_io.S
osst_detect.h
osst_options.h
osst.c [PATCH] drivers/scsi: fix-up schedule_timeout() usage 2005-11-07 07:53:59 -08:00
osst.h
pas16.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
pas16.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
pci2000.h Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
pdc_adma.c [libata] constify PCI ID table in several drivers 2005-11-10 11:04:11 -05:00
pluto.c [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
pluto.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
ppa.c
ppa.h
psi240i.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
psi240i.h
psi_chip.h
ql1040_fw.h
ql1280_fw.h
ql12160_fw.h
qla1280.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qla1280.h
qlogicfas408.c
qlogicfas408.h
qlogicfas.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qlogicfc_asm.c
qlogicfc.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
qlogicpti_asm.c
qlogicpti.c
qlogicpti.h
raid_class.c Merge by hand (conflicts between pending drivers and kfree cleanups) 2005-11-08 12:50:26 -05:00
sata_mv.c [libata sata_mv] update copyright, driver version 2005-11-18 14:04:23 -05:00
sata_nv.c [libata] constify PCI ID table in several drivers 2005-11-10 11:04:11 -05:00
sata_promise.c [libata] bump versions 2005-11-16 11:06:59 -05:00
sata_promise.h
sata_qstor.c [libata] bump versions 2005-11-16 11:06:59 -05:00
sata_sil24.c [PATCH] sil24: make error_intr less verbose 2005-11-18 13:11:39 -05:00
sata_sil.c [libata] constify PCI ID table in several drivers 2005-11-10 11:04:11 -05:00
sata_sis.c [libata] constify PCI ID table in several drivers 2005-11-10 11:04:11 -05:00
sata_svw.c [libata] bump versions 2005-11-16 11:06:59 -05:00
sata_sx4.c [libata] bump versions 2005-11-16 11:06:59 -05:00
sata_uli.c [libata] constify PCI ID table in several drivers 2005-11-10 11:04:11 -05:00
sata_via.c [libata] constify PCI ID table in several drivers 2005-11-10 11:04:11 -05:00
sata_vsc.c [libata] bump versions 2005-11-16 11:06:59 -05:00
script_asm.pl
scsi_debug.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
scsi_debug.h
scsi_devinfo.c
scsi_error.c [SCSI] use a completion in scsi_send_eh_cmnd 2005-11-06 12:49:36 -06:00
scsi_ioctl.c
scsi_lib.c Revert revert of "[SCSI] fix usb storage oops" 2005-12-12 11:25:04 -08:00
scsi_logging.h
scsi_module.c
scsi_priv.h [SCSI] use a completion in scsi_send_eh_cmnd 2005-11-06 12:49:36 -06:00
scsi_proc.c
scsi_scan.c [PATCH] Fix SCSI scanning slab corruption 2005-12-12 12:35:39 -08:00
scsi_sysctl.c
scsi_sysfs.c [SCSI] Fix transport class oops 2005-11-06 12:31:30 -06:00
scsi_transport_fc.c Merge by Hand 2005-11-04 22:29:52 -06:00
scsi_transport_iscsi.c Merge by Hand 2005-11-04 22:29:52 -06:00
scsi_transport_sas.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
scsi_transport_spi.c [SCSI] SPI DV: be more conservative about echo buffer usage 2005-12-01 15:59:43 -06:00
scsi_typedefs.h [SCSI] remove Scsi_Device typedef 2005-11-09 15:48:20 -05:00
scsi.c [PATCH] Fix a bug in scsi_get_command 2005-11-22 09:13:44 -08:00
scsi.h
scsicam.c
sd.c [SCSI] sd: fix issue_flush 2005-11-09 09:31:46 -05:00
seagate.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
seagate.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sg.c [SCSI] sg: fix a bug in st_map_user_pages failure path 2005-12-02 10:24:22 -06:00
sgiwd93.c Merge by hand (whitespace conflicts in libata.h) 2005-11-10 08:29:07 -06:00
sim710.c
sr_ioctl.c
sr_vendor.c
sr.c
sr.h
st_options.h
st.c [SCSI] sg and st unmap_user_pages allow PageReserved 2005-12-02 10:24:14 -06:00
st.h
sun3_NCR5380.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi_vme.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3_scsi.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sun3x_esp.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sym53c8xx_comm.h
sym53c8xx_defs.h
sym53c416.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
sym53c416.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
t128.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
t128.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
tmscsim.c
tmscsim.h
u14-34f.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ultrastor.c [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
ultrastor.h [SCSI] remove Scsi_Host_Template typedef 2005-11-09 15:44:09 -05:00
wd33c93.c [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason 2005-11-09 07:55:57 -08:00
wd33c93.h
wd7000.c
zalon.c