commit | d0d9b70d4861bae77b86c05f6925e991cb6c32f1 | [log] [tgz] |
---|---|---|
author | Hao Xu <howeyxu@tencent.com> | Fri Jun 17 22:36:02 2022 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 17 08:41:45 2022 -0600 |
tree | 9ce4d6098859b2a4d52e03b8ff769fcec3fc7fb4 | |
parent | c8909b9e1963f4651927f8f46d1d0420d28bcd58 [diff] |
test/accept: fix minus one error when calculating multishot_mask We don't need to minus one for the s_fd[i] since the returned cqe.res is already the fixed file table slot which is indexed from zero. Fixes: 66cf84527c34 ("test/accept.c: add test for multishot mode accept") Signed-off-by: Hao Xu <howeyxu@tencent.com> Link: https://lore.kernel.org/r/20220617143603.179277-3-hao.xu@linux.dev Signed-off-by: Jens Axboe <axboe@kernel.dk>