]> 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)
commit470a088b799a469c34d705837edf9500340ab737
tree4b5a6f1703ff3f9634e633dc58e6693cbb391463
parentd599018c3d91869a00bbed486bd864ca0c31bf99
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