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

Revert "sock/udp: work around gnrc_sock_recv() returning early timeout" #21126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maribu
Copy link
Member

@maribu maribu commented Jan 10, 2025

Contribution description

This reverts commit e3d0068, which added a work around for two bugs:

With those bugs fixed, the work around should not longer be needed.

Testing procedure

@benpicco has a test setup with dozen of native instances.

Issues/PRs references

#19965

This reverts commit e3d0068, which
added a work around for two bugs:

- ztimer triggering too early (fixed in
  RIOT-OS#20924)
- gnrc_sock_recv() returning when an old "timeout" message is still
  in the message queue (fixed in
  RIOT-OS#21113)

With those bugs fixed, the work around should not longer be needed.
@github-actions github-actions bot added Area: network Area: Networking Area: sys Area: System labels Jan 10, 2025
@maribu maribu added Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jan 10, 2025
@riot-ci
Copy link

riot-ci commented Jan 10, 2025

Murdock results

✔️ PASSED

c562b6c Revert "sock/udp: work around gnrc_sock_recv() returning early timeout"

Success Failures Total Runtime
10271 0 10271 18m:14s

Artifacts

@Enoch247
Copy link
Contributor

I am assuming that it is intentional that you did not revert the other commit (c4634f5) in the referenced PR, but would like confirmation that it wasn't forgotten.

@maribu
Copy link
Member Author

maribu commented Jan 16, 2025

I can later run make generate-Makefile.ci in examples/gcoap, but I don't have much hope that that this is enough to get those boards back, as .text has also increased in the meantime due to other changes.

@Enoch247
Copy link
Contributor

I assumed something along those lines. If you don't get to it today, I will likely attempt to generate the makefile tonight.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: network Area: Networking Area: sys Area: System CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants