]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ANDROID: binder: Add strong ref checks
authorArve Hjønnevåg <arve@android.com>
Mon, 24 Oct 2016 13:20:29 +0000 (15:20 +0200)
committerLuis Henriques <luis.henriques@canonical.com>
Tue, 6 Dec 2016 16:51:35 +0000 (16:51 +0000)
commit9a6d0e7637d7ca66b2d388ea81104fced9c202dc
tree22633685140e649816a97c8c3b0a056d68f75c51
parent3fa6890ed37c70f36ac8a7b9ceff8c65b51b6a67
ANDROID: binder: Add strong ref checks

BugLink: http://bugs.launchpad.net/bugs/1642572
commit 0a3ffab93fe52530602fe47cd74802cffdb19c05 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
drivers/android/binder.c