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 <email@example.com> 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 <firstname.lastname@example.org> Reviewed by: Hans Rosenfeld <email@example.com> Reviewed by: Albert Lee <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>