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

net: socket: dtls: handle multiple fragments in sendmsg() #69280

Merged
merged 2 commits into from Mar 6, 2024

Conversation

rlubos
Copy link
Contributor

@rlubos rlubos commented Feb 21, 2024

DTLS socket should be able to combine more than one message into a single datagram when calling sendmsg().

Resolves #45956

mniestroj
mniestroj previously approved these changes Feb 21, 2024
jukkar
jukkar previously approved these changes Feb 22, 2024
@aescolar aescolar added the hwmv2-likely-conflict DNM until collab-hwmv2 has been merged label Feb 26, 2024
@nordicjm nordicjm removed the hwmv2-likely-conflict DNM until collab-hwmv2 has been merged label Mar 4, 2024
@aescolar
Copy link
Member

aescolar commented Mar 4, 2024

@rlubos please rebase

DTLS socket should be able to combine more than one message into a
single datagram when calling sendmsg().

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Add tests that verify that sendmsg() for DTLS works fine if provided
with multiple buffers.

Modify existing sendmsg() tests, so that we still tests the old
behavior if the feature is disabled.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
@rlubos rlubos dismissed stale reviews from jukkar and mniestroj via 03fabef March 5, 2024 17:51
@rlubos
Copy link
Contributor Author

rlubos commented Mar 5, 2024

@rlubos please rebase

Done

@aescolar aescolar merged commit 88728f3 into zephyrproject-rtos:main Mar 6, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

net: socket: dtls: handle multiple fragments in sendmsg()
7 participants