Re: [PATCH 0/2] _scsih_sas_host_add early exits can crash system

2016-05-31 Thread Martin K. Petersen
> "Joe" == Joe Lawrence writes: Joe> There are many error paths in _scsih_sas_host_add that lead to an Joe> early exit and a few that leave IOC resources uninitialized, Joe> setting the stage for a later crash. Applied to 4.8/scsi-queue. Please make sure to use "mpt3sas: foo bar" in the pat

[PATCH 0/2] _scsih_sas_host_add early exits can crash system

2016-05-25 Thread Joe Lawrence
There are many error paths in _scsih_sas_host_add that lead to an early exit and a few that leave IOC resources uninitialized, setting the stage for a later crash. This can be emulated using a systemtap script like: % stap -g -e \ 'probe module("mpt3sas").function("mpt3sas_config_get_sas_ioun