]> git.baikalelectronics.ru Git - kernel.git/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)
commit75262925b29531177dad3f457dbc3e0847f80ec5
tree4b5a6f1703ff3f9634e633dc58e6693cbb391463
parent18aea357f3e28ce0e8111d8ed08bc8f876b92c43
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