Repository navigation
fix(golden): permanent neighbor entries in the workload's veth pairs - #359
Open
randomizedcoder wants to merge 2 commits into
Open
randomizedcoder wants to merge 2 commits into
randomizedcoder wants to merge 2 commits into
Conversation
Right after link-up, the first IPv6 neighbor solicitation on a fresh veth pair went unanswered in about one pair in eight (a guest probe: 4 of 30 first pings took ~1 s, the ND retransmit). On golden-opts the tcp6 client's 1 s dial timeout then abandoned its first attempt; the client's RST reached the half-open request, tcp_check_req reset it and tcp_v6_rcv counted the segment as a drop on the listener. That is the golden-opts-b IPv6 listener's 0-or-1 sk_mem_info_drops. pair() now installs permanent neighbor entries for both ends (IPv4 and IPv6), so no handshake waits on neighbor discovery: 30 of 30 first pings answered in under 0.05 ms, and the listener reads 0 drops. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…drops With permanent neighbor entries in the veth pairs, no tcp6 dial is abandoned, so the listener no longer counts the abandoned attempt's RST. xtcp2-golden diff against the old fixture: only that listener's sk_mem_info_drops (nonzero -> 0). Status doc and CHANGELOG record the cause and the fix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
sk_mem_info_drops.tcp_client's 1 s dial timeout, so the tcp6 client abandoned its first attempt and dialled again. Its RST for the abandoned attempt reached the half-open request;tcp_check_reqreset it andtcp_v6_rcvcounted the segment on the listener (discard_and_relse).EmbryonicRsts. A guest probe over 30 fresh pairs: 4 first pings took ~1 s.pair()installs permanent neighbor entries on both ends (IPv4 and IPv6). The probe then answered 30 of 30 in under 0.05 ms, and the listener reads 0.xtcp2-golden diffagainst the old one shows only that listener's drops (nonzero -> 0); two captures with the fix passed all 56 rows and match each other.🤖 Generated with Claude Code