Skip to content

Avoid inflating same-path RTT by max_ack_delay - #2

Merged
zzj3720 merged 1 commit into
stillfail-v1.3from
fix/same-path-rtt
Nov 13, 2026
Merged

zzj3720 merged 1 commit into
stillfail-v1.3from
fix/same-path-rtt

Conversation

@zzj3720

@zzj3720 zzj3720 commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • Seed same_path_rtt from the un-delayed on-path PATH_CHALLENGE–PATH_RESPONSE round trip when the PATH_RESPONSE arrives on the same network path, so PathStats::same_path_rtt is populated as soon as PathEvent::Established fires.
  • Subtract ack_delay on the initial RttEstimator::update sample when smoothed is not yet set, instead of overwriting min with the delayed sample and pinning min + ack_delay <= latest to false on subsequent delayed ACKs.
  • Bundle an immediate ACK with the outgoing on-path PATH_RESPONSE when receiving an on-path PATH_CHALLENGE.
  • Match the full FourTuple (including local_ip) in PathResponses::push, matching pop_on_path/pop_off_path, so simultaneous probes to multiple local IPs on the same host do not overwrite each other.

@zzj3720
zzj3720 merged commit 76344e6 into stillfail-v1.3 Nov 13, 2026
3 checks passed
@zzj3720
zzj3720 deleted the fix/same-path-rtt branch November 13, 2026 12:26
CommaBot added a commit that referenced this pull request Nov 21, 2026
)

Record pending_idle_abandon when PathTimer::PathIdle hits
ClosePathError::LastOpenPath. Clear that flag if an authenticated packet
arrives on the path later, or if set_path_max_idle_timeout updates its
timeout. Exclude pending-idle paths from address validation reuse, and
abandon them with PathAbandonReason::TimedOut only after another open path
is validated and holds remote connection IDs.

Co-authored-by: still.fail station <stillfail@mac-2.localdomain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant