Stabilize MTU validation after PMTU cache updates#3692
Open
jbemmel wants to merge 1 commit into
Open
Conversation
Flush the probe's IPv4/IPv6 route cache between under-MTU and PTB checks so cached path MTU does not turn the next oversized ping into a local "message too long" failure instead of a fresh Frag Needed / Packet Too Big from the DUT. Co-authored-by: Cursor <cursoragent@cursor.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.
Summary
tests/integration/initial/04-mtu.yml.wait: ping_longon the IPv6 under-MTU check for the same path.Why
After an oversized DF ping, Linux/cEOS learns and caches the path MTU. The next oversized ping then fails locally with "message too long" instead of eliciting a fresh ICMP unreachable from the DUT, so the PTB validation becomes flaky or fails even when the DUT is correct. Flushing the cache forces a new discovery attempt and keeps the test asserting DUT behavior.
Test plan
tests/integration/initial/04-mtu.ymlagainst a DUT that previously showed intermittent PTB failuresv4_1400_ptb/v6_1400_ptbstill match Frag Needed / Packet Too Big (not local message-too-long)Made with Cursor