Repository navigation
Conversation
Dropping every incoming DATA chunk once the reassembly queue reached its 90% high watermark also dropped the next expected TSN. If out-of-order data reached the watermark (for example from a peer overshooting the advertised window or acting on a reordered SACK with a stale a_rwnd), the missing chunk could never be accepted, leaving buffered ordered data behind the gap permanently undeliverable. The same drop also prevented fragments of a large in-order message from completing within the remaining 10% headroom up to the configured buffer limit. RFC 9260 section 6.2 suggests discarding the highest buffered TSN to make room when the advertised window is zero, but this receiver never reneges on already gap-acked data. Using the headroom between the high watermark and the maximum buffer size to accept chunks that advance the cumulative TSN ack lets gaps close without revoking previously acknowledged TSNs. When chunks are dropped, an immediate SACK will be sent to inform the sender about the empty receiver window.
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.
Dropping every incoming DATA chunk once the reassembly queue reached its 90% high watermark also dropped the next expected TSN. If out-of-order data reached the watermark (for example from a peer overshooting the advertised window or acting on a reordered SACK with a stale a_rwnd), the missing chunk could never be accepted, leaving buffered ordered data behind the gap permanently undeliverable. The same drop also prevented fragments of a large in-order message from completing within the remaining 10% headroom up to the configured buffer limit.
RFC 9260 section 6.2 suggests discarding the highest buffered TSN to make room when the advertised window is zero, but this receiver never reneges on already gap-acked data. Using the headroom between the high watermark and the maximum buffer size to accept chunks that advance the cumulative TSN ack lets gaps close without revoking previously acknowledged TSNs.
When chunks are dropped, an immediate SACK will be sent to inform the sender about the empty receiver window.