FROMLIST: binder: protect proc->threads with inner_lock
authorTodd Kjos <tkjos@google.com>
Thu, 25 May 2017 22:52:17 +0000 (15:52 -0700)
committerDanny Wood <danwood76@gmail.com>
Tue, 26 Feb 2019 11:36:34 +0000 (11:36 +0000)
commitaed017319cbebd19377dea2452c56d389e433fb9
tree20d3d972559cf49dcf503bb06e3da62a3fcc9cb4
parentceeaf28f41e895dcd17e6e6f12659bead5f162a7
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: I176cfeca16bf7c9b34b428c16405f93db81d2ff8
Signed-off-by: Todd Kjos <tkjos@google.com>
drivers/android/binder.c