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 tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
all net: mgmt: Use proper coop thread priority value 2021-02-17 16:42:15 +02:00
arp tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
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 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
dhcpv4 tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
ethernet_mgmt device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
hostname device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
icmpv4 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
icmpv6 tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
ieee802154 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
iface net: if: check for multicast address already registered 2021-01-14 16:57:07 +02:00
ip-addr net: IPv4 bcast address recognized as multicast 2020-10-09 10:26:38 +03:00
ipv6 net: timeout: refactor to fix multiple problems 2021-01-07 11:14:38 +02:00
ipv6_fragment device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lib net: dns: update to new k_work API 2021-03-15 17:19:54 +02:00
mgmt tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
mld tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
neighbor tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
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 device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
ptp/clock tests: net: ptp clock: Increase main stack size 2021-01-17 15:09:58 +02:00
route device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
route_mcast device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
socket tests: net: socket: af_packet: fix resource leak 2021-03-15 17:19:39 +02:00
tcp device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
tcp2 tests: net: tcp2: Add tests for TCP recv data queueing 2021-01-12 13:40:05 +02:00
traffic_class device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
trickle
tx_timestamp device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
udp tests: net: Adjust the thread priorities 2020-11-20 12:57:29 +02:00
utils net: improved test for IPv6 pton() and ntop() 2020-11-17 11:44:16 +02:00
vlan device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00