FROMLIST: binder: make sure target_node has strong ref
authorTodd Kjos <tkjos@google.com>
Fri, 26 May 2017 18:56:29 +0000 (11:56 -0700)
committerTodd Kjos <tkjos@google.com>
Thu, 13 Jul 2017 15:34:20 +0000 (08:34 -0700)
commitc37162dcec17f730ac3411ad0719699b045759ba
tree89ce076886b611b0de3dc760b1a6d3c00b2e1790
parent858b8da08ace1dc4ab450971f98c0211a1eada02
FROMLIST: binder: make sure target_node has strong ref

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

When initiating a transaction, the target_node must
have a strong ref on it. Then we take a second
strong ref to make sure the node survives until the
transaction is complete.

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