On Thu, Jan 31, 2008 at 07:19:57PM +0200, Boaz Harrosh wrote: > > scsi_scan is issuing a 36-byte INQUIRY request to llds. isd200 would > volunteer 96 bytes of INQUIRY. This caused an underflow condition in > protocol.c usb_stor_access_xfer_buf(). So first fix is to > usb_stor_access_xfer_buf() to properly handle underflow conditions. > Then usb_stor_set_xfer_buf() should report this condition as a negative > resid. Should we also set cmnd->status in the underflow condition? > > Then also isd200.c is fixed to only return the type of INQUIRY && SENSE > the upper layer asked for. > > Signed-off-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx> As this is a regression and hits 2.6.24, can you send the final version of this patch to the stable@xxxxxxxxxx address so we can get it into the 2.6.24.y tree? thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html