Files
twx-linux/drivers/scsi
Stefan Richter 841f706760 [PATCH] SCSI: fix transfer direction in scsi_lib and st
SCSI: fix transfer direction in scsi_lib and st

scsi_prep_fn and st_init_command could issue WRITE requests with zero
buffer length. This may lead to kernel panic or oops with some SCSI
low-level drivers.

Derived from -rc patches from Jens Axboe and James Bottomley.

Patch is reassembled for -stable from patches:
[SCSI] fix panic when ejecting ieee1394 ipod
[SCSI] Consolidate REQ_BLOCK_PC handling path (fix ipod panic)

Depends on patch "SCSI: fix transfer direction in sd (kernel panic when
ejecting iPod)". Also modifies the already correct sr_init_command to
fully match the corresponding -rc patch.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-12-26 16:08:58 -08:00
..
2005-10-16 12:00:36 -05:00
2005-08-23 18:43:42 -07:00
2005-09-21 16:25:46 -05:00
2005-10-25 13:51:48 -07:00
2005-09-08 15:07:08 -07:00
2005-09-16 02:37:47 -04:00
2005-09-10 10:16:27 -07:00
2005-08-02 10:09:03 -05:00
2005-08-02 10:09:03 -05:00
2005-09-26 17:32:44 -05:00
2005-09-22 22:17:36 -07:00
2005-09-07 17:17:34 -07:00
2005-08-30 22:48:51 -05:00
2005-09-08 23:07:29 -04:00
2005-09-08 15:07:08 -07:00
2005-08-29 15:59:42 -04:00
2005-08-28 11:14:12 -05:00