diff options
author | Eric Biggers <[email protected]> | 2021-12-08 17:04:52 -0800 |
---|---|---|
committer | Eric Biggers <[email protected]> | 2021-12-09 10:49:56 -0800 |
commit | a880b28a71e39013e357fd3adccd1d8a31bc69a8 (patch) | |
tree | f08920c4dfdef165841cd8559cc6ec44501a3225 /net/lapb/lapb_in.c | |
parent | 42288cb44c4b5fff7653bc392b583a2b8bd6a8c0 (diff) |
binder: use wake_up_pollfree()
wake_up_poll() uses nr_exclusive=1, so it's not guaranteed to wake up
all exclusive waiters. Yet, POLLFREE *must* wake up all waiters. epoll
and aio poll are fortunately not affected by this, but it's very
fragile. Thus, the new function wake_up_pollfree() has been introduced.
Convert binder to use wake_up_pollfree().
Reported-by: Linus Torvalds <[email protected]>
Fixes: f5cb779ba163 ("ANDROID: binder: remove waitqueue when thread exits.")
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Eric Biggers <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions