zephyr/tests/net
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
all net: mgmt: Use proper coop thread priority value 2021-02-17 16:42:15 +02:00
arp
buf tests: No thread-shared/synchronized data on stack (coherence) 2021-03-08 19:25:25 -05:00
checksum_offload tests: net: checksum_offload: Use proper network interface 2021-03-04 16:05:52 +02:00
context
dhcpv4
ethernet_mgmt
hostname
icmpv4
icmpv6
ieee802154
iface
ip-addr
ipv6
ipv6_fragment
lib net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
mgmt
mld
neighbor
net_pkt net: pkt: Add function net_pkt_get_contiguous_len() 2021-02-24 09:43:52 +02:00
pm tests: enable and run many tests on RISC-V 2021-01-15 13:06:33 -05:00
ppp/driver
promiscuous
ptp/clock tests: net: ptp clock: Increase main stack size 2021-01-17 15:09:58 +02:00
route
route_mcast
shell
socket tests: net: socket: af_packet: fix resource leak 2021-03-15 17:19:39 +02:00
tcp
tcp2
traffic_class
trickle
tx_timestamp
udp
utils
vlan