binder: make sure target_node has strong ref
authorTodd Kjos <tkjos@android.com>
Thu, 29 Jun 2017 19:01:56 +0000 (12:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Jul 2017 12:47:30 +0000 (14:47 +0200)
commiteb34983ba170f236b6801c7bee717da6abe4aff0
tree4517f9556de660dc76db9bf452895318e7adb4d7
parent26549d17741035b604048770f354c8c6b5e25ac9
binder: make sure target_node has strong ref

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.

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