Boaz Harrosh wrote: > Yang, Bo wrote: >> Thanks TOMM. If this is the case, it may affect some of other drivers like our >> MPT and SAS driver. Is there a way kernel can fix it? >> >> Thanks, >> >> Bo Yang >> > > Hi Bo Yang > > What are the source files for the MPT and SAS drivers from LSI? > I have made a system wide search for such problems as below and could not > find any more. But I might have missed them. If you tell me the file names > I will inspect more closly. > > Thanks > Boaz In megaraid_sas.c I do not see any places where megasas_cmd->scmd is set other then at megasas_queue_command() which is the scsi .queue_command vector. Commands that come from scsi-ml are guarantied to be fully allocated. Other then that I do not see any places that privately allocate a scsi_cmnd structure. So I would say megaraid_sas.c should be safe from this bug Any other files I should inspect? Boaz -- 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