zephyr/subsys/net/lib
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
..
coap net: coap: acknowledgement initialization helper 2021-02-15 10:17:11 +02:00
config logging: Add backend parameter to the init function 2021-03-12 09:24:54 -05:00
conn_mgr kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
dns net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
http license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
lwm2m net: lwm2m: Make validation cb support optional 2021-03-10 14:55:22 -05:00
mqtt net: mqtt: log struct mqtt_utf8 with hexdump 2021-03-05 12:49:22 +02:00
openthread net: openthread: Fix otPlatUartSend 2021-03-15 13:46:36 +02:00
sntp net: sntp: Remove deprecated API function 2020-10-01 07:14:08 -05:00
sockets net: sockets: Provide close method for packet sockets 2021-03-15 15:17:52 +02:00
socks
tftp
tls_credentials device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
utils
websocket kernel: sem: add K_SEM_MAX_LIMIT 2021-03-05 08:13:53 -06:00
CMakeLists.txt net: openthread: Align Kconfig with cmake symbols 2020-08-18 15:57:14 +03:00
Kconfig