Skip to content
Commit 9f39eb92 authored by Axel Le Bourhis's avatar Axel Le Bourhis Committed by Anas Nashif
Browse files

tests: net: socket: udp: clear control data buffer before recvmsg



Currently, the test doesn't clear the control data buffer before
calling recvmsg. This leads to recvmsg being unable to add the new
control data, which corresponds to the current received data.
This commit aims to clear the control data buffer to match most use
cases, when the control data buffer is empty before calling recvmsg.

Signed-off-by: default avatarAxel Le Bourhis <axel.lebourhis@nxp.com>
(cherry picked from commit 179c85aa)
parent ae03e45b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment