ohci1
4b8f3098a5
update configure info for 2.14
...
Co-authored-by: Pavel Begunkov<asml.silence@gmail.com >
Co-authored-by: Guillem Jover<guillem@hadrons.org >
Co-authored-by: Jens Axboe<axboe@kernel.dk >
Co-authored-by: Khem Raj<raj.khem@gmail.com >
Co-authored-by: Michael de Lang<kingoipo@gmail.com >
Co-authored-by: David Disseldorp<ddiss@suse.de >
Co-authored-by: Ming Lei<ming.lei@redhat.com >
2026-04-24 09:24:13 +08:00
fangzhiyi18
0ae77b95ef
升级2.7
...
Signed-off-by: fangzhiyi18 <fangzhiyi1@huawei.com >
2024-10-21 02:53:20 +00:00
Ammar Faizi
5aefb7c06f
t/socket-rw-offset: Don't brute force the port number
...
Don't brute force the port number, use `t_bind_ephemeral_port()`,
much simpler and reliable for choosing a port number that is not
in use.
Cc: Dylan Yudaken <dylany@fb.com >
Cc: Facebook Kernel Team <kernel-team@fb.com >
Cc: Pavel Begunkov <asml.silence@gmail.com >
Reviewed-by: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org >
Tested-by: Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org >
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org >
Link: https://lore.kernel.org/r/20220902071153.3168814-6-ammar.faizi@intel.com
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2022-09-02 05:56:14 -06:00
Ammar Faizi
ceab99e70b
test/socket-rw-offset: Fix UB, accessing dead object
...
Dereference to a local variable that has been out of its scope is
undefined behavior, it may contain garbage or the compiler may
reuse it for other local variables.
Fix this by moving the struct iov variable declarations so their
lifetime is extended.
Cc: Jens Axboe <axboe@kernel.dk >
Cc: Hrvoje Zeba <zeba.hrvoje@gmail.com >
Fixes: 96b08215b7 ("Add test case for socket read with offset == -1")
Signed-off-by: Ammar Faizi <ammarfaizi2@gnuweeb.org >
Link: https://lore.kernel.org/r/20220107130218.1238910-4-ammarfaizi2@gnuweeb.org
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2022-01-09 09:47:16 -07:00
Jens Axboe
cba7ef2fea
test/socket-rw-offset: skip for kernels without cur position rw
...
This will fail on kernels that don't have IORING_FEAT_RW_CUR_POS,
so just skip the test if we are running on one of those.
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2021-12-23 09:47:41 -07:00
Jens Axboe
96b08215b7
Add test case for socket read with offset == -1
...
This should just get ignored by the kernel, so check that it is. This
is fixed by kernel commit:
commit 7b9762a5e8837b92a027d58d396a9d27f6440c36
Author: Jens Axboe <axboe@kernel.dk >
Date: Wed Dec 22 20:26:56 2021 -0700
io_uring: zero iocb->ki_pos for stream file types
Signed-off-by: Jens Axboe <axboe@kernel.dk >
2021-12-23 09:43:40 -07:00