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

sys/net/gnrc: fix logic bug in gnrc_tx_sync implementation #16091

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

maribu
Copy link
Member

@maribu maribu commented Feb 24, 2021

Contribution description

In case of an error, the tx sync packet snip could previously have been
released twice. This moves re-attaching the tx sync snip down after the
last goto error to avoid this.

Testing procedure

The test in tests/gnrc_tx_sync should still pass.

Issues/PRs references

None

In case of an error, the tx sync packet snip could previously have been
released twice. This moves re-attaching the tx sync snip down after the
last `goto error` to avoid this.
@maribu maribu added Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors) Area: network Area: Networking labels Feb 24, 2021
@maribu maribu requested a review from miri64 February 24, 2021 20:25
Copy link
Contributor

@benpicco benpicco left a comment

Choose a reason for hiding this comment

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

makes sense

@benpicco benpicco added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Feb 24, 2021
@miri64 miri64 merged commit f3871c0 into RIOT-OS:master Feb 25, 2021
@maribu
Copy link
Member Author

maribu commented Feb 25, 2021

Thanks :-)

@maribu maribu deleted the tx_sync_frag_bugfix branch February 25, 2021 11:09
@kaspar030 kaspar030 added this to the Release 2021.04 milestone Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: bug The issue reports a bug / The PR fixes a bug (including spelling errors)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants