diff options
author | Alexandre Oliva <oliva@lsd.ic.unicamp.br> | 2005-06-15 22:26:31 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-16 09:02:59 -0700 |
commit | a2ef79e1840ebbd0b5907e53c755efd5662112a1 (patch) | |
tree | b6d0c2c0b961b2e1fb3d5e07ebb9e0eef4de944a /drivers/block | |
parent | bcfff0b471a60df350338bcd727fc9b8a6aa54b2 (diff) | |
download | blackbird-op-linux-a2ef79e1840ebbd0b5907e53c755efd5662112a1.tar.gz blackbird-op-linux-a2ef79e1840ebbd0b5907e53c755efd5662112a1.zip |
[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>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions