Skip to content

Conversation

JordanYates
Copy link
Contributor

Handle claiming buffers for an interface that is disconnected.

When the interface is in its "disconnected" state, don't push the packet
onto the queue, and run the callback with `-ENOTCONN`.

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

codecov bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 75.00000% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
subsys/logging/backends/log_backend_epacket_bt.c 0.00% 3 Missing ⚠️
subsys/rpc/server.c 0.00% 2 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@JordanYates JordanYates force-pushed the bugfix/dl_read_dc branch 2 times, most recently from d94cdff to fe3dca9 Compare March 31, 2025 12:17
Handle an interface that has disconnected while writing the output.

Signed-off-by: Jordan Yates <[email protected]>
Handle claiming buffers for an interface that is disconnected.

Signed-off-by: Jordan Yates <[email protected]>
Test the behaviour of commands when the interface disconnects in the
middle of the data send.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates merged commit 7b83d20 into main Apr 1, 2025
12 checks passed
@JordanYates JordanYates deleted the bugfix/dl_read_dc branch April 1, 2025 01:04
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