]> asedeno.scripts.mit.edu Git - linux.git/commit
binder: protect proc->threads with inner_lock
authorTodd Kjos <tkjos@android.com>
Thu, 29 Jun 2017 19:02:05 +0000 (12:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:48:24 +0000 (14:48 +0200)
commit7bd7b0e639afb847a14ca994795fb5c64d2a7bf4
tree8ade32adac8e0ea10bc9731959c720cfeec64d81
parentda0fa9e4e8c5aac7cafa6cbb14d908ab8bbffd2f
binder: protect proc->threads with inner_lock

proc->threads will need to be accessed with higher
locks of other processes held so use proc->inner_lock
to protect it. proc->tmp_ref now needs to be protected
by proc->inner_lock.

Signed-off-by: Todd Kjos <tkjos@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c