FROMLIST: binder: protect proc->threads with inner_lock
authorTodd Kjos <tkjos@google.com>
Thu, 25 May 2017 22:52:17 +0000 (15:52 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:21 +0000 (08:34 -0700)
commitb482790258e51bbe9c89ffdc6e55b2e5004e11f7
tree4c0fe80aef450fc6da0851bf7dead585e30625aa
parent425d23f84b9b10bb461d2495f9cbe6990727300b
FROMLIST: binder: protect proc->threads with inner_lock

(from https://patchwork.kernel.org/patch/9817775/)

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.

Change-Id: Id4cff2c9786d900b7846ec9b1816f7a07655c429
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c