ANDROID: binder: synchronize_rcu() when using POLLFREE.
authorMartijn Coenen <[email protected]>
Fri, 16 Feb 2018 08:47:15 +0000 (09:47 +0100)
committerGreg Kroah-Hartman <[email protected]>
Fri, 16 Feb 2018 10:16:38 +0000 (11:16 +0100)
commit5eeb2ca02a2f6084fc57ae5c244a38baab07033a
tree86ee4c41c581810a860fc963293da1bed7724798
parent8ca86f1639ec5890d400fff9211aca22d0a392eb
ANDROID: binder: synchronize_rcu() when using POLLFREE.

To prevent races with ep_remove_waitqueue() removing the
waitqueue at the same time.

Reported-by: [email protected]
Signed-off-by: Martijn Coenen <[email protected]>
Cc: stable <[email protected]> # 4.14+
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/android/binder.c