linux/drivers/ieee1394
Alexandre Oliva a2ef79e184 [PATCH] sbp2 slab corruption fix
This fixed a problem that showed up in the Fedora development tree a few
weeks before the Fedora Core 4 release, initially as slab corruption, later
as hard crashes on boot up, when slab debugging was disabled for the
release.  More details on the history at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158424

The problem is caused by sbp2's use of scsi_host->hostdata[0] to hold a
scsi_id, without explicitly requesting space for it.  Since hostdata is
declared as a zero-sized array, we don't get any such space by default, so
it must be explicitly requested.  The patch below implements just that.

Signed-off-by: Alexandre Oliva <aoliva@redhat.com>
Cc: Jody McIntyre <scjody@modernduck.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-06-16 09:02:59 -07:00
..
amdtp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
amdtp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cmp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cmp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
config_roms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
config_roms.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csr.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csr.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csr1212.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
csr1212.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dma.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dv1394-private.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dv1394.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dv1394.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eth1394.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eth1394.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
highlevel.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
highlevel.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hosts.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hosts.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee1394-ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee1394.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee1394_core.c [PATCH] ieee1394: fix premature expiry of async packets 2005-05-17 07:59:24 -07:00
ieee1394_core.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee1394_hotplug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ieee1394_transactions.c [PATCH] ieee1394: drivers/ieee1394/ieee1394_transactions.c: possible cleanups 2005-05-17 07:59:22 -07:00
ieee1394_transactions.h [PATCH] ieee1394: drivers/ieee1394/ieee1394_transactions.c: possible cleanups 2005-05-17 07:59:22 -07:00
ieee1394_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iso.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iso.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] ieee1394: drivers/ieee1394/pcilynx.c: remove dead options 2005-05-17 07:59:22 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nodemgr.c [PATCH] ieee1394: remove NULL checks for kfree 2005-05-17 07:59:23 -07:00
nodemgr.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ohci1394.c [PATCH] ieee1394: remove NULL checks for kfree 2005-05-17 07:59:23 -07:00
ohci1394.h [PATCH] ieee1394: fix cross_bound check for null ISO packets 2005-05-17 07:59:23 -07:00
oui.db Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
oui2c.sh Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pcilynx.c [PATCH] ieee1394: drivers/ieee1394/pcilynx.c: Use the DMA_32BIT_MASK constant 2005-05-17 07:59:23 -07:00
pcilynx.h [PATCH] ieee1394: drivers/ieee1394/pcilynx.c: remove dead options 2005-05-17 07:59:22 -07:00
raw1394-private.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raw1394.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
raw1394.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sbp2.c [PATCH] sbp2 slab corruption fix 2005-06-16 09:02:59 -07:00
sbp2.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video1394.c [PATCH] ieee1394: single buffer fixes to video1394 2005-05-17 07:59:23 -07:00
video1394.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00