diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-30 08:05:54 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-30 08:05:54 -0400 |
| commit | 720d690e3680d8ae5fcf86f8614c1a10b4ee7605 (patch) | |
| tree | 02158973d51022d7374f5b6e2f1953b530127f43 /drivers/android | |
| parent | 72b6500c1cc68b949faa1bac76359dc601b482d6 (diff) | |
| parent | 6da6c0db5316275015e8cc2959f12a17584aeb64 (diff) | |
Merge 4.17-rc3 into char-misc-next
We want the fixes in here as well.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/android')
| -rw-r--r-- | drivers/android/binder.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/android/binder.c b/drivers/android/binder.c index 00322b146469..4eab5be3d00f 100644 --- a/drivers/android/binder.c +++ b/drivers/android/binder.c | |||
| @@ -2839,6 +2839,14 @@ static void binder_transaction(struct binder_proc *proc, | |||
| 2839 | else | 2839 | else |
| 2840 | return_error = BR_DEAD_REPLY; | 2840 | return_error = BR_DEAD_REPLY; |
| 2841 | mutex_unlock(&context->context_mgr_node_lock); | 2841 | mutex_unlock(&context->context_mgr_node_lock); |
| 2842 | if (target_node && target_proc == proc) { | ||
| 2843 | binder_user_error("%d:%d got transaction to context manager from process owning it\n", | ||
| 2844 | proc->pid, thread->pid); | ||
| 2845 | return_error = BR_FAILED_REPLY; | ||
| 2846 | return_error_param = -EINVAL; | ||
| 2847 | return_error_line = __LINE__; | ||
| 2848 | goto err_invalid_target_handle; | ||
| 2849 | } | ||
| 2842 | } | 2850 | } |
| 2843 | if (!target_node) { | 2851 | if (!target_node) { |
| 2844 | /* | 2852 | /* |
