Re: [PATCH]: Fix old SCSI adapter crashes with CD-ROM

From: Alan Cox
Date: Tue May 08 2007 - 12:07:06 EST


On Tue, 8 May 2007 17:03:35 +0100
Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:

> The CD-ROM layer doesn't bounce requests for old ISA controllers (and
> nor should it). However they get injected into the SCSI layer via
> sr_ioctl which also doesn't bounce them and SCSI then passes the buffer
> along to a device with unchecked_isa_dma set which either panics or
> truncates the buffer to 24bits.

Umm duh there's a memory leak in an error case there still. Please
discard and I'll post a new one shortly
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/