]> git.baikalelectronics.ru Git - kernel.git/commit
staging: binder: Fix death notifications
authorArve Hjønnevåg <arve@android.com>
Mon, 17 Feb 2014 21:58:29 +0000 (13:58 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2014 20:30:54 +0000 (12:30 -0800)
commitabe056ac33c6738ab8a7519bb4109faca3db82bb
tree180b189c9cdc3d72b9abac23917542f1a053116d
parentaf18dbdc538d68661a2dc170065e02fb49a2ec53
staging: binder: Fix death notifications

The change (94d6dd8f84a981db720a9c0cc1417f3c8e248fbe) that moved the
node release code to a separate function broke death notifications in
some cases. When it encountered a reference without a death
notification request, it would skip looking at the remaining
references, and therefore fail to send death notifications for them.

Cc: Colin Cross <ccross@android.com>
Cc: Android Kernel Team <kernel-team@android.com>
Cc: stable <stable@vger.kernel.org> # 3.10
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/binder.c