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

2017-06-30 Thread Greg KH
On Thu, Jun 29, 2017 at 12:02:10PM -0700, Todd Kjos wrote: > From: Martijn Coenen > > 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, >

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

2017-06-30 Thread Greg KH
On Thu, Jun 29, 2017 at 12:02:10PM -0700, Todd Kjos wrote: > From: Martijn Coenen > > 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

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

2017-06-29 Thread Todd Kjos
From: Martijn Coenen 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

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

2017-06-29 Thread Todd Kjos
From: Martijn Coenen 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: