zephyr/subsys
Robert Lubos 53561e3766 net: dns: Fix timeout calculation with DNS retransmissions
With recently introduced DNS retransmission mechanism, a certain bug
could occur when calculating query timeout.

If the time until the final DNS timeout (as indicated by
CONFIG_NET_SOCKETS_DNS_TIMEOUT) was less than 1 millisecond, the actual
millisecond timeout value was rounded down, resulting in 0 ms timeout.
This in order was interpreted as invalid argument by dns_get_addr_info()
function, so in result, instead of reporting query timeout, the function
reported invalid argument error.

Fix this by rounding the millisecond timeout up, instead of down, so
that in any case, if the final timeout is not due, we always provide
non-zero timeout to dns_get_addr_info().

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2024-03-12 15:13:31 -05:00
..
bindesc
bluetooth Bluetooth: BAP: Shell: Fix issue with stopping broadcast sink 2024-03-12 17:57:49 +00:00
canbus drivers: can: remove run-time RTR filtering, add build-time RTR filter 2024-01-21 11:00:31 +01:00
console
debug gdbstub: Add custom backend choice 2024-03-11 10:38:18 -04:00
demand_paging
dfu subsys/dfu/boot: Fix image confirm for Direct XIP 2024-02-06 21:00:36 +01:00
disk
dsp
emul emul: Add support for non-bus emulators 2024-01-12 09:59:31 +01:00
fb
fs nvs: improve nvs_flash_cmp_const() 2024-03-05 10:55:40 +01:00
input input: increase default stack size to 1024 2024-02-28 07:45:28 -06:00
ipc drivers: mbox: update MBOX consumers to the new API 2024-03-07 14:32:57 +00:00
jwt
llext llext: Support memory protection 2024-02-02 13:06:28 -05:00
logging log: net: Add structured logging support to syslog 2024-03-12 09:44:11 +00:00
lorawan lorawan: services: clock_sync: apply changed periodicity immediately 2024-03-01 17:35:04 +01:00
mem_mgmt
mgmt mcumgr/img_mgmt: Fix CONFIG_MCUBOOT_BOOTLOADER_NO_DOWNGRADE 2024-03-11 09:05:03 -05:00
modbus modbus: Remove mode reset in modbus_disable function 2024-01-25 16:00:38 +00:00
modem samples: net: cellular_modem: add nRF9160 DK's nRF52840 2024-03-04 22:13:14 +01:00
net net: dns: Fix timeout calculation with DNS retransmissions 2024-03-12 15:13:31 -05:00
pm pm: device_runtime: Simplify runtime_enable 2024-02-06 09:52:38 +01:00
portability kernel: remove cmsis-rtos layering violation 2024-03-06 19:27:28 -05:00
random
retention
rtio
sd sd: update comment to reference 'SD host controller specification' 2024-01-25 20:13:25 +01:00
sensing sensing: add rtio implement for sensing subsys 2024-01-24 10:32:10 +01:00
settings settings: nvs: Fix first write issue with cache 2024-02-26 11:55:33 +00:00
shell net: telnet: Fix spelling in command defines 2024-03-11 15:09:32 -05:00
sip_svc
stats
storage
task_wdt task_wdt: start feeding hardware watchdog immediately after init 2024-01-02 09:52:13 +01:00
testsuite testsuite: ztest: Increase ZTEST_TEST_DELAY_MS to 5000 2024-03-06 16:42:33 -05:00
timing
tracing tracing: sysview: Remove redundant depends on 2024-03-11 09:09:07 -05:00
usb usb: device_next: fix buffer count configuration in CDC ACM pool 2024-02-09 17:38:52 +00:00
zbus zbus: add priority boost feature 2024-01-04 09:41:54 +01:00
CMakeLists.txt
Kconfig llext: enable tristate Kconfig options 2024-01-11 10:26:04 -05:00