commit | ac1dbd5ef81fe9bd389e38f22da32d940c1d9e02 | [log] [tgz] |
---|---|---|
author | Vasily Khoruzhick <anarsoul@gmail.com> | Tue Mar 10 01:53:57 2020 -0700 |
committer | Vasily Khoruzhick <anarsoul@gmail.com> | Mon Mar 16 16:28:33 2020 -0700 |
tree | b03533ea0d505493436deb205abaae50e032c5c4 | |
parent | 2756b629171f61ca8e162be7b332e91a62c5c978 [diff] |
lima/gpir: fix crash in schedule_insert_ready_list() Fix crash if node is already at position we want. Otherwise we remove it from list (and list->prev becomes NULL) and then we dereference list->prev in list_addtail() Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4126> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4126>