diff options
author | 2022-07-07 15:13:14 +0100 | |
---|---|---|
committer | 2022-07-24 18:39:17 -0600 | |
commit | 7a121ced6e6430d49fb802067b4f020f6df62362 (patch) | |
tree | b02069f47e97ff3968442b6405dd9014bfb459c6 /io_uring/net.c | |
parent | io_uring: disable multishot recvmsg (diff) | |
download | linux-rng-7a121ced6e6430d49fb802067b4f020f6df62362.tar.xz linux-rng-7a121ced6e6430d49fb802067b4f020f6df62362.zip |
io_uring: don't miss setting REQ_F_DOUBLE_POLL
When adding a second poll entry we should set REQ_F_DOUBLE_POLL
unconditionally. We might race with the first entry removal but that
doesn't change the rule.
Fixes: a18427bb2d9b ("io_uring: optimise submission side poll_refs")
Reported-and-tested-by: syzbot+49950ba66096b1f0209b@syzkaller.appspotmail.com
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/8b680d83ded07424db83e8745585e7a6d72826ef.1657203020.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/net.c')
0 files changed, 0 insertions, 0 deletions