From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbdF3GFF (ORCPT ); Fri, 30 Jun 2017 02:05:05 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:43198 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751818AbdF3GFE (ORCPT ); Fri, 30 Jun 2017 02:05:04 -0400 Date: Fri, 30 Jun 2017 08:05:01 +0200 From: Greg KH To: Todd Kjos Cc: arve@android.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, maco@google.com, tkjos@google.com Subject: Re: [PATCH 36/37] binder: fix death race conditions Message-ID: <20170630060501.GB2741@kroah.com> References: <20170629190211.16927-1-tkjos@google.com> <20170629190211.16927-37-tkjos@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170629190211.16927-37-tkjos@google.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 simultaneous access to ref->death > because different locks were held. > > Signed-off-by: Martijn Coenen 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