zephyr/subsys/net/ip
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
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt net: ipv4: Implement IPv4 address conflict detection 2024-06-10 00:59:28 -07:00
connection.c net: ip: fix typo 2024-06-25 21:19:00 -04:00
connection.h everywhere: replace double words 2024-06-22 05:40:22 -04:00
icmp.c
icmpv4.c net: Support partial checksum offloading 2024-06-14 17:10:43 -04:00
icmpv4.h
icmpv6.c net: Support partial checksum offloading 2024-06-14 17:10:43 -04:00
icmpv6.h
igmp.c
ipv4_acd.c net: ipv4: Implement IPv4 address conflict detection 2024-06-10 00:59:28 -07:00
ipv4_autoconf.c net: ipv4: autoconf: Integrate with the ACD module 2024-06-10 00:59:28 -07:00
ipv4_fragment.c net: ipv4: Fix tx_pkts slab leak in send_ipv4_fragment 2024-07-27 10:45:14 +03:00
ipv4.c net: ip: fix typo 2024-06-25 21:19:00 -04:00
ipv4.h net: ipv4: Implement IPv4 address conflict detection 2024-06-10 00:59:28 -07:00
ipv6_fragment.c
ipv6_mld.c net: ipv6: mld: use proper MLDv2 modes 2024-05-10 11:44:50 +02:00
ipv6_nbr.c net: ipv6: routing: do not use an original source address for NS 2024-07-27 10:44:48 +03:00
ipv6_pe.c net: ipv6-pe: Verify that hmac calculation was ok 2024-07-03 15:25:58 +02:00
ipv6.c net: ipv6: routing: do not add route to original iface without ND 2024-07-31 12:40:16 +02:00
ipv6.h net: ip: fix typo 2024-06-25 21:19:00 -04:00
Kconfig net: if: Make sure interface name can contain terminating null 2024-06-24 14:48:03 -04:00
Kconfig.debug
Kconfig.ipv4 kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.ipv6 kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
Kconfig.mgmt hostap: Increase the stack size for net_mgmt 2024-05-06 14:55:09 +01:00
Kconfig.stack
Kconfig.stats
Kconfig.tcp kconfig: replace known integer constants with variables 2024-07-27 20:49:15 +03:00
nbr.c
nbr.h
net_context.c net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
net_core.c net: tracing: Add net_send_data function tracing 2024-08-19 21:50:21 -04:00
net_if.c net: tracing: Add TX time tracing 2024-08-19 21:50:21 -04:00
net_mgmt.c net: mgmt: Fix build error when event direct enabled without event info 2024-07-09 11:49:47 +02:00
net_pkt.c style: subsys: comply with MISRA C:2012 Rule 15.6 2024-08-20 10:33:51 +02:00
net_private.h net: sockets: Update msg_controllen in recvmsg properly 2024-08-23 15:50:37 +01:00
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c
net_timeout.c everywhere: replace double words 2024-06-22 05:40:22 -04:00
packet_socket.c
packet_socket.h
promiscuous.c
route.c net: ipv6: route: get nexthop's LL address only if relevant 2024-08-08 15:37:32 +02:00
route.h net: ipv6: mcast_routing: hop limit handling 2024-06-13 05:44:30 -04:00
tcp_internal.h net: context: Add helpers for figuring out local endpoint address 2024-05-06 22:50:18 +01:00
tcp_private.h net: tcp: Keep track of recv window size change since last ACK 2024-07-31 12:56:52 +02:00
tcp.c net: tcp: Keep track of recv window size change since last ACK 2024-07-31 12:56:52 +02:00
tcp.h
tp_priv.h net: change controlling expressions in while to Boolean 2024-06-11 20:03:16 +03:00
tp.c net: change controlling expressions in while to Boolean 2024-06-11 20:03:16 +03:00
tp.h
udp_internal.h
udp.c net: Support partial checksum offloading 2024-06-14 17:10:43 -04:00
utils.c net: ip: utils: revise data type declarations in z_impl_net_addr_ntop 2024-08-06 17:15:50 -04:00