]> git.itanic.dy.fi Git - linux-stable/commit
binder: call poll_wait() unconditionally.
authorMartijn Coenen <maco@android.com>
Mon, 9 Oct 2017 12:26:56 +0000 (14:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Oct 2017 10:53:43 +0000 (12:53 +0200)
commit66b83a4cdd3b73effdc285d1d66763c69ffe2ee8
tree4b5a6f1703ff3f9634e633dc58e6693cbb391463
parent33d930e59a98fa10a0db9f56c7fa2f21a4aef9b9
binder: call poll_wait() unconditionally.

Because we're not guaranteed that subsequent calls
to poll() will have a poll_table_struct parameter
with _qproc set. When _qproc is not set, poll_wait()
is a noop, and we won't be woken up correctly.

Signed-off-by: Martijn Coenen <maco@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder.c