zephyr/subsys/net/ip
Chaitanya Tata 09048e0a16 net: ipv6: mld: Fix improper reference drop
In case of successful submission, the reference shouldn't be put down,
this only should done on error cases.

As reference is put down on success, during the buffer unref, no action
is taken due to an uint8 overflow (ref is now 255), so, the buf->frags
isn't cleared properly and the next time the frags is used and when L2
inserts a second frag, the first head frag and next frag are same (due
to buffer re-use) causing an infinite loop in either net_buf_frag_last
or net_pkt_get_len.

Signed-off-by: Chaitanya Tata <Chaitanya.Tata@nordicsemi.no>
2024-04-30 11:45:38 +02:00
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00
connection.c net: connection: Log an error when running out of contexts 2024-04-09 11:05:10 +02:00
connection.h net: conn: Add internal function for update connection 2024-03-14 11:08:59 -05:00
icmp.c net: use appropriate sys_randX_get() 2024-04-05 12:28:46 +02:00
icmpv4.c net: icmp: Don't report error on ICMP messages w/o handler 2024-01-29 14:57:35 +00:00
icmpv4.h
icmpv6.c net: icmp: Don't report error on ICMP messages w/o handler 2024-01-29 14:57:35 +00:00
icmpv6.h
igmp.c net: igmp: Fix double unref of igmp packet 2024-03-15 13:35:16 +01:00
ipv4_autoconf_internal.h
ipv4_autoconf.c net: use appropriate sys_randX_get() 2024-04-05 12:28:46 +02:00
ipv4_fragment.c net: use appropriate sys_randX_get() 2024-04-05 12:28:46 +02:00
ipv4.c net: ipip: Refactor the IP tunneling support 2024-03-25 17:07:43 +01:00
ipv4.h
ipv6_fragment.c
ipv6_mld.c net: ipv6: mld: Fix improper reference drop 2024-04-30 11:45:38 +02:00
ipv6_nbr.c net: ipv6: Introduce separate logger module for IPv6 ND 2024-03-21 18:00:50 +01:00
ipv6.c net: ipv6: check if multicast packet was forwarded 2024-04-17 14:39:35 +02:00
ipv6.h net: ipv6: Improve Neighbor Discovery thread safety 2024-02-09 16:34:34 -06:00
Kconfig net: ipv6: add multiple interfaces to multicast routing entry 2024-04-17 14:39:35 +02:00
Kconfig.debug
Kconfig.ipv4 net: dhcpv4: Move DHCPv4 files to lib directory 2024-01-29 13:47:05 +01:00
Kconfig.ipv6 Network: L2: remove IPSP 2024-04-11 12:48:50 +02:00
Kconfig.mgmt
Kconfig.stack
Kconfig.stats
Kconfig.tcp net: tcp: Deprecate CONFIG_NET_TCP_ACK_TIMEOUT 2024-04-03 15:32:45 -04:00
nbr.c net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
nbr.h net/ip: Removing useless extra data capability in neighbors 2024-03-01 15:33:53 +01:00
net_context.c net: use appropriate sys_randX_get() 2024-04-05 12:28:46 +02:00
net_core.c net: dhcpv6: Move DHCPv6 files to lib directory 2024-01-29 13:47:05 +01:00
net_if.c net: if: Do not add IPv6 address lifetime timer twice to list 2024-04-19 17:04:17 +00:00
net_mgmt.c net: mgmt: Handle loops in the linked list 2024-03-08 09:35:04 +01:00
net_pkt.c net: Provide separate configs for TX/RX memory pool for variable bufs 2024-03-29 15:56:07 -05:00
net_private.h net: Add helper to print the verdict as string 2024-04-04 17:02:11 +02:00
net_stats.c
net_stats.h
net_tc_mapping.h
net_tc.c net: ip: Allow traffic class thread priority customization 2024-02-26 12:11:19 +01:00
net_timeout.c
packet_socket.c
packet_socket.h
promiscuous.c
route.c net: ipv6: add multiple interfaces to multicast routing entry 2024-04-17 14:39:35 +02:00
route.h net: ipv6: add multiple interfaces to multicast routing entry 2024-04-17 14:39:35 +02:00
tcp_internal.h
tcp_private.h net: tcp: Rate-limiting of neighbor reachability hints 2024-02-09 16:26:10 -06:00
tcp.c net: tcp: Fix FIN with data handling 2024-04-15 12:51:52 +02:00
tcp.h
tp_priv.h
tp.c
tp.h
udp_internal.h
udp.c
utils.c net: Add helper to print the verdict as string 2024-04-04 17:02:11 +02:00