ANDROID: binder: Add strong ref checks
authorArve Hjønnevåg <arve@android.com>
Mon, 24 Oct 2016 13:20:29 +0000 (15:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2016 17:37:47 +0000 (19:37 +0200)
commit0a3ffab93fe52530602fe47cd74802cffdb19c05
tree844100cdc78d04538740c01d17e7f2d807875073
parent07d9a380680d1c0eb51ef87ff2eab5c994949e69
ANDROID: binder: Add strong ref checks

Prevent using a binder_ref with only weak references where a strong
reference is required.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: Martijn Coenen <maco@android.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c