Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcp_input: update tx_unack before reorder_ofosegs #10459

Merged
merged 1 commit into from Sep 1, 2023

Conversation

zhhyu7
Copy link
Contributor

@zhhyu7 zhhyu7 commented Sep 1, 2023

Summary

If the sack is enabled and the ofosegs has gap, after the received out of order packets are inserted into ofosegs and early return, so tcp cannot update the tx_unacked, peer received packets will retransmitted after the tcp_timer timeout.
So update tx_unacked first.

Impact

Testing

Cortex-M33

After the sack is enabled and the ofosegs has gap, tcp cannot update the
tx_unacked, so the peer received packets are retransmitted after the
timer timeout.
So update tx_unacked first.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
@pkarashchenko pkarashchenko merged commit 3f927b6 into apache:master Sep 1, 2023
26 checks passed
@zhhyu7 zhhyu7 deleted the upstream-29 branch September 19, 2023 06:11
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to net in Release Notes - 12.3.0 Sep 27, 2023
@jerpelea jerpelea moved this from net to done in Release Notes - 12.3.0 Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants