revert(minimald): revert the 8 MiB guest vsock receive window - #924
Merged
Conversation
This reverts commit ff79c8c.
📝 WalkthroughWalkthroughThe Linux vsock listener startup no longer adjusts the AF_VSOCK receive window. The related constant, startup call and logging, and socket-option helper were removed. ChangesVsock startup behavior
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
Comment |
norrietaylor
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit ff79c8c.
Summary
Testing
Checklist
BREAKING CHANGE:footer present if this is a breaking changeNote
Revert 8 MiB guest vsock receive window in
minimaldRemoves the
VSOCK_RX_WINDOW_BYTESconstant and theset_vsock_rx_windowhelper from main.rs, along with the call inasync_mainthat raisedSO_VM_SOCKETS_BUFFER_MAX_SIZEandSO_VM_SOCKETS_BUFFER_SIZEviasetsockopt. The vsock listener now uses kernel-default receive window sizes. Behavioral Change: debug/warn logs about window sizing and ENOBUFS risks are no longer emitted, and accepted sockets will operate at the kernel default rather than 8 MiB.Macroscope summarized d3b11e9.
Summary by CodeRabbit