aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf
diff options
context:
space:
mode:
authorHao Xu <[email protected]>2021-07-28 11:03:22 +0800
committerJens Axboe <[email protected]>2021-07-28 07:24:57 -0600
commita890d01e4ee016978776e45340e521b3bbbdf41f (patch)
tree6b3e96531fb0ea616c5feda969ae958f001fe0a2 /tools/testing/selftests/bpf
parentef04688871f3386b6d40ade8f5c664290420f819 (diff)
io_uring: fix poll requests leaking second poll entries
For pure poll requests, it doesn't remove the second poll wait entry when it's done, neither after vfs_poll() or in the poll completion handler. We should remove the second poll wait entry. And we use io_poll_remove_double() rather than io_poll_remove_waitqs() since the latter has some redundant logic. Fixes: 88e41cf928a6 ("io_uring: add multishot mode for IORING_OP_POLL_ADD") Cc: [email protected] # 5.13+ Signed-off-by: Hao Xu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf')
0 files changed, 0 insertions, 0 deletions