Re: [PATCH 36/37] binder: fix death race conditions

From: Greg KH
Date: Fri Jun 30 2017 - 02:05:08 EST


On Thu, Jun 29, 2017 at 12:02:10PM -0700, Todd Kjos wrote:
> From: Martijn Coenen <maco@xxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Martijn Coenen <maco@xxxxxxxxxx>

Note, if you forward on a patch from someone else, like this, you should
also put your signed-off-by: on it, as you hopefully are agreeing that
it is ok to forward on.

thanks,

greg k-h