zephyr/subsys/net
Axel Le Bourhis 5d643f4b00 net: sockets: Update msg_controllen in recvmsg properly
According to recvmsg man page, msg_controllen should be set to the sum
of the length of all control messages in the buffer.
This is missing from the current recvmsg implementation.
This commit aims to fix this by updating msg_controllen each time control
data are added to the buffer.
This commit also fixes cases where the msg_controllen is cleared
incorrectly.

Fixes #77303

Signed-off-by: Axel Le Bourhis <axel.lebourhis@nxp.com>
2024-08-23 15:50:37 +01:00
..
conn_mgr net: shell: add conn_mgr shell commands 2024-08-20 10:31:55 +02:00
ip net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
l2 net: shell: Move bridge shell under net shell 2024-08-21 18:27:14 +01:00
lib net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
pkt_filter
buf_simple.c net: buf: Add const to net_buf API 2024-07-08 16:02:39 +02:00
buf.c net: buf: Clear user_data on allocation 2024-08-19 09:55:24 -04:00
CMakeLists.txt net: conn_mgr: Write documentation 2023-09-28 15:11:14 +02:00
hostname.c net: hostname: Add a function to set the hostname postfix as is. 2024-07-28 07:28:51 +03:00
Kconfig net: Add Kconfig for net buf alignment 2023-12-14 09:29:47 +01:00
Kconfig.hostname net: add set hostname function 2024-01-17 14:42:58 +01:00
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net