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:Axel Le Bourhis <axel.lebourhis@nxp.com> (cherry picked from commit 179c85aa)
Loading
Please sign in to comment