Skip to content

Conversation

JordanYates
Copy link
Contributor

Release the epacket net_buf as soon as possible after completion,
instead of deferring this to the same time that advertising is
potentially chained. Because the chaining can happen on the same workq
that is also trying to allocate buffers, this could lead to deadlocks.

Release the epacket `net_buf` as soon as possible after completion,
instead of deferring this to the same time that advertising is
potentially chained. Because the chaining can happen on the same workq
that is also trying to allocate buffers, this could lead to deadlocks.

Signed-off-by: Jordan Yates <[email protected]>
Treat all `zsock_socket` return codes less than 0 as errors.

Signed-off-by: Jordan Yates <[email protected]>
When `zsock_getaddrinfo` fails, output `errno` to help debugging.

Signed-off-by: Jordan Yates <[email protected]>
Increase version to `v0.3.1` to fix Bluetooth deadlock and improve
debugging output.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented Sep 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.19%. Comparing base (9fc97f0) to head (7332f81).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #257   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files         104      104           
  Lines        3961     3961           
  Branches      622      622           
=======================================
  Hits         3652     3652           
  Misses        156      156           
  Partials      153      153           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JordanYates JordanYates merged commit 5610ea4 into main Sep 28, 2024
8 checks passed
@JordanYates JordanYates deleted the bugfix/bt_adv_blocking branch September 28, 2024 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant