zephyr/subsys/net/lib
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
..
capture net: capture: Add packet capture stats for dropped packets 2024-08-14 09:39:09 +02:00
coap net: coap: Parse more flag in coap_get_block2_option() 2024-08-02 22:12:47 -05:00
config net: config: add missing include 2024-08-21 16:44:06 -04:00
dhcpv4 net: dhcpv4_server: dns server option 2024-08-20 18:58:40 -04:00
dhcpv6 net: dhcpv6: Add configurable DUID buffer length 2024-04-03 10:28:20 +03:00
dns kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
http net: lib: http_server: Clear http1_headers_sent flag on new request 2024-08-12 15:54:03 +02:00
lwm2m net: lwm2m: remove deprecated APIs and confs 2024-08-14 09:14:43 -04:00
mqtt net: mqtt: improve decoder buffer handling 2024-07-31 13:08:28 +02:00
mqtt_sn kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
ptp net: ptp: Properly handle second overflow/underflow 2024-08-06 09:17:26 +01:00
shell net: shell: add conn_mgr shell commands 2024-08-20 10:31:55 +02:00
sntp net: lib: sntp_simple: add a function to use with ip address 2024-02-28 18:03:53 +00:00
sockets net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
socks net: socks: Remove socket selection 2024-03-27 13:40:13 -05:00
tftp net: tftp: Use zsock_ API functions 2024-03-27 13:40:13 -05:00
tls_credentials net: lib: fix typo 2024-07-12 09:33:20 -04:00
trickle net: trickle: Rename interval function 2024-03-19 15:20:14 -05:00
utils
websocket net: websocket: fix undefined reference 2024-08-21 08:58:57 +02:00
zperf style: subsys: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
CMakeLists.txt net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00
Kconfig net: ptp: Initial PTP library implementation 2024-06-13 05:40:41 -04:00