zephyr/subsys/net/ip
Jukka Rissanen ae05221762 net: Update IP address refcount properly when address already exists
If an IP address already exists when it is tried to be added to the
network interface, then just return it but update ref count if it was
not updated. This could happen if the address was added and then removed,
but for example an active connection was still using it and keeping the
ref count > 0. In this case we must update the ref count so that the IP
address is not removed if the connection is closed.

Fixes #85380

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2025-02-12 09:41:24 +01:00
..
6lo_private.h
6lo.c
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt
connection.c
connection.h
icmp.c net: icmp: Add a way to send ICMP Echo-Req without waiting 2024-12-19 15:18:33 +01:00
icmpv4.c
icmpv4.h
icmpv6.c
icmpv6.h
igmp.c
igmp.h
ipv4_acd.c
ipv4_autoconf.c
ipv4_fragment.c net: Set the protocol type of fragmented packet 2025-01-21 19:29:55 +01:00
ipv4.c net: ipv4: Do not change the protocol type when sending 2025-01-21 19:29:55 +01:00
ipv4.h
ipv6_fragment.c net: Set the protocol type of fragmented packet 2025-01-21 19:29:55 +01:00
ipv6_mld.c
ipv6_nbr.c net: ipv6: Remove unused function 2025-02-12 02:23:07 +01:00
ipv6_pe.c
ipv6.c net: ethernet: Set the ptype by the caller in send 2025-01-16 22:37:28 +01:00
ipv6.h
iterables_net_pkt_alloc_stats.ld
Kconfig net: tc: Deprecate CONFIG_NET_TC_SKIP_FOR_HIGH_PRIO 2025-02-05 12:37:01 +01:00
Kconfig.debug
Kconfig.ipv4 net: vlan: Allow VLAN count to be set to 0 2025-01-31 16:12:50 +01:00
Kconfig.ipv6 net: vlan: Allow VLAN count to be set to 0 2025-01-31 16:12:50 +01:00
Kconfig.mgmt
Kconfig.stack
Kconfig.stats
Kconfig.tcp net: Remove deprecated CONFIG_NET_TCP_ACK_TIMEOUT option 2024-12-11 21:32:02 +01:00
nbr.c
nbr.h
net_context.c net: ethernet: Set the ptype by the caller in send 2025-01-16 22:37:28 +01:00
net_core.c net: tc: Add a skip for rx-queues 2025-01-31 11:49:50 +01:00
net_if.c net: Update IP address refcount properly when address already exists 2025-02-12 09:41:24 +01:00
net_mgmt.c
net_pkt.c net: pkt: Fix fixed buffer allocation with headroom bug 2025-01-23 16:31:03 +01:00
net_private.h net: dns: Allow creating context with specific interface 2025-02-12 09:40:15 +01:00
net_stats.c
net_stats.h net: tc: Add statistics about dropped packets 2025-01-30 20:27:33 +01:00
net_tc_mapping.h
net_tc.c net: tc: Deprecate CONFIG_NET_TC_SKIP_FOR_HIGH_PRIO 2025-02-05 12:37:01 +01:00
net_timeout.c
packet_socket.c
packet_socket.h
pmtu.c
pmtu.h
promiscuous.c
route.c
route.h
tcp_internal.h
tcp_private.h
tcp.c net: Update IP address refcount properly when address already exists 2025-02-12 09:41:24 +01:00
tcp.h
tp_priv.h
tp.c
tp.h
udp_internal.h
udp.c
utils.c net: utils: Fix unused function warning 2025-02-08 19:45:38 -05:00