zephyr/subsys/net/ip
Peter Bigot 1c7bf96019 net: dns: update to new k_work API
Switch to the new API for delayed work related to DNS queries.

In the previous solution it was assumed that the work item could be
immediately cancelled at the point the query slot was released.  This
is not true.  We need a secondary condition to record the fact that
the query was completed while the work item was still pending, and an
additional check to detect when the work item completed and the slot
reclaimed.

Also annotate functions to indicate when they require the lock on
query content to be held, add some helpers that abstract core
operations like invoking a callback or releasing a query slot, and fix
some more cases where query slot content was accessed outside of the
new lock infrastructure.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-03-15 17:19:54 +02:00
..
6lo_private.h
6lo.c net/6lo: First buffer fragment should hold the full compressed header 2021-02-04 07:36:16 -05:00
6lo.h
canbus_socket.c
canbus_socket.h
CMakeLists.txt net: tcp: Implement ISN calculation according to RFC6528 2021-03-09 04:54:14 -05:00
connection.c net: Add support for simultaneous UDP/TCP and raw sockets 2021-01-15 09:30:17 +02:00
connection.h
dhcpv4.c net: dhcp: correct timeout scheduling with multiple interfaces 2021-01-04 10:02:58 +02:00
dhcpv4.h net: dhcpv4: check dhcpv4 msg len is correct 2020-11-02 12:56:16 +02:00
icmpv4.c
icmpv4.h
icmpv6.c net: icmpv6: Store ll addresses to pkt when sending error msg 2020-10-23 09:29:27 +03:00
icmpv6.h
ipv4_autoconf_internal.h
ipv4_autoconf.c
ipv4.c net: Fix access to already unref'ed packet data 2020-10-21 12:49:22 +03:00
ipv4.h
ipv6_fragment.c net: ipv6_fragment: fixed endian issue 2020-11-17 11:44:16 +02:00
ipv6_mld.c
ipv6_nbr.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
ipv6.c net: ipv6: fixed endian issue 2020-11-17 11:44:16 +02:00
ipv6.h
Kconfig net: tcp: Implement ISN calculation according to RFC6528 2021-03-09 04:54:14 -05:00
Kconfig.debug
Kconfig.ipv4 net: dhcpv4: The client needs info about network interfaces 2021-03-11 12:24:10 +02:00
Kconfig.ipv6
Kconfig.mgmt net: mgmt: Use proper coop thread priority value 2021-02-17 16:42:15 +02:00
Kconfig.stack
Kconfig.stats
nbr.c
nbr.h
net_context.c net: context: Remove unnecessary null check 2021-03-08 13:26:00 +02:00
net_core.c net: Drop incoming packet if there is no data in it 2020-09-22 11:22:43 +02:00
net_if.c net: if: check for multicast address already registered 2021-01-14 16:57:07 +02:00
net_mgmt.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
net_pkt.c net: pkt: Add function net_pkt_get_contiguous_len() 2021-02-24 09:43:52 +02:00
net_private.h net: utils: net_pkt_hexdump() was missing log_strdup() 2021-03-01 14:23:30 +02:00
net_shell.c net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
net_shell.h
net_stats.c
net_stats.h net: stats: Separate dropped TCP data segments and TCP packets 2020-11-06 09:50:02 -06:00
net_tc_mapping.h
net_tc.c net: ip: remove incorrect check of work item status 2021-03-04 18:00:56 -05:00
net_timeout.c net: timeout: refactor to fix multiple problems 2021-01-07 11:14:38 +02:00
packet_socket.c eth: Add support for Distributed Switch Architecture [DSA] switches 2021-01-20 10:03:42 +02:00
packet_socket.h
promiscuous.c
route.c
route.h
tcp2_priv.h net/ip/tcp2_priv.h: th_off: More detailed docstring 2021-03-10 14:53:28 -05:00
tcp2.c net: tcp2: Add more debugging for connection unref 2021-03-12 15:59:30 +02:00
tcp2.h
tcp_internal.h net: tcp: Reorganize internal TCP header file 2020-11-16 16:07:10 +02:00
tcp.c kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
tp_priv.h
tp.c
tp.h
trickle.c
udp_internal.h
udp.c
utils.c net: utils: Check null pointer in net_sprint_ll_addr_buf() 2021-03-01 14:23:30 +02:00