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

Only clear retransmit timer when all packets are acked #662

Merged
merged 1 commit into from Aug 11, 2022
Merged

Only clear retransmit timer when all packets are acked #662

merged 1 commit into from Aug 11, 2022

Conversation

SquidDev
Copy link
Contributor

Fixes #660.

While I've tested this on several physical devices, and can confirm they behave as expected, I'm definitely not familiar with the intricacies of smoltcp (or TCP in general!), so not sure what potential regressions there might be here. Happy to make any and all changes needed!

Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Nice catch, and thanks for the fix and tests!

bors r+

@bors
Copy link
Contributor

bors bot commented Aug 11, 2022

Build succeeded:

@bors bors bot merged commit ee0ee5f into smoltcp-rs:master Aug 11, 2022
@SquidDev SquidDev deleted the hotfix/burst-ack branch August 12, 2022 06:02
@SquidDev
Copy link
Contributor Author

Sorry to bump an old issue, was wondering if it would be possible to backport this to the 0.8 branch and cut a new release? We're currently maintaining a local fork of Artiq with this smoltcp patch applied, but we'd quite like to move upstream to use the fixed version of smoltcp too.

@Dirbaio
Copy link
Member

Dirbaio commented Nov 23, 2022

Sure, we can do that! Can you send a PR against the v0.8.x branch with the backport (along with other stuff you want backported if any)?

@SquidDev
Copy link
Contributor Author

Amazing, thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

TCP packets are not transmitted when bursts are partially acknowleged
2 participants