Skip to content

gnrc_tcp: handle zero size buffers#16738

Merged
benpicco merged 1 commit intoRIOT-OS:masterfrom
brummer-simon:gnrc_tcp-handle_zero_size_buffers
Aug 14, 2021
Merged

gnrc_tcp: handle zero size buffers#16738
benpicco merged 1 commit intoRIOT-OS:masterfrom
brummer-simon:gnrc_tcp-handle_zero_size_buffers

Conversation

@brummer-simon
Copy link
Member

Contribution description

This PR enables gnrc_tcp_send and gnrc_tcp_recv to handle zero as buffer size parameter correctly.

Testing procedure

To verify this test, run the gnrc_tcp test suite located under: tests/gnrc_tcp.
A dedicated test for each function was added.

Issues/PRs references

Adds missing functionality required by #16494

@github-actions github-actions bot added Area: network Area: Networking Area: sys Area: System Area: tests Area: tests and testing framework labels Aug 14, 2021
@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 Aug 14, 2021
@brummer-simon
Copy link
Member Author

@benpicco: BTW: Thanks for reviewing my tcp PRs on a saturday. I appreciate it very much.

@benpicco benpicco merged commit a76bc58 into RIOT-OS:master Aug 14, 2021
@benpicco benpicco added this to the Release 2021.10 milestone Oct 20, 2021
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 Area: tests Area: tests and testing framework CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants