mptsas_handle_topo_change can return without its locks held
In the mptsas_handle_topo_change() there is an invariant that the mptsas_t m_mutex member should be held when entering and leaving that function. Unfortunately, there are several cases in this function where it is dropped, but not entered again.
See 9044 for testing notes.
Updated by Electric Monk about 4 years ago
- Status changed from New to Closed
commit e89016e771abb6871cb08b54316d9a1a826a9193 Author: Robert Mustacchi <firstname.lastname@example.org> Date: 2018-04-04T20:15:13.000Z 9044 Need support for mpt_sas tri-mode parts 9045 Clean up mpt_sas compiler warnings 9046 mptsas_handle_topo_change can return without its locks held 9047 workaround SAS3408 firmware issue Reviewed by: Jerry Jelinek <email@example.com> Reviewed by: Hans Rosenfeld <firstname.lastname@example.org> Reviewed by: Albert Lee <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>