Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c33aaf3c authored by Martijn Coenen's avatar Martijn Coenen Committed by Martijn Coenen
Browse files

FROMLIST: binder: fix death race conditions

(from https://patchwork.kernel.org/patch/9817765/

)

A race existed where one thread could register
a death notification for a node, while another
thread was cleaning up that node and sending
out death notifications for its references,
causing simultaneous access to ref->death
because different locks were held.

Test: boots, manual testing
Change-Id: Iff73312f34f70374f417beba4c4c82dd33cac119
Signed-off-by: default avatarMartijn Coenen <maco@google.com>
parent 3d85dbf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment