Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by "Jiaming Fan"
Sun, 29 Nov 2026 06:34
Re: [PATCH net 2/2] vsock/test: add stream MSG_WAITALL receive timeout test
Author: "Jiaming Fan"
Date: Sun, 29 Nov 2026 06:34
Date: Sun, 29 Nov 2026 06:34
11 lines
17510 bytes
17510 bytes
> + if (read_ns >= 2ULL * NSEC_PER_SEC * RCVTIMEO_TIMEOUT_SEC) {
What if the sender gets delayed?
800ms is the requested sleep, not a guarantee that the sender gets
scheduled in 800ms.
Say the first byte arrives at 0.8s and the second gets delayed by
300ms. The broken kernel times out at 1.8s with one byte read, and
the test happily passes :(
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads