zephyr/subsys
Jun Qing Zou 9103403308 net: lwm2m: support NET_SOCKETS_OFFLOAD in peer parsing
The LwM2M implementation for DNS resolving has checks which
configure hints based on whether IPv4 or IPv6 are enabled.
Neither of them need enabled if using NET_SOCKETS_OFFLOAD,
which then causes an error to be returned to due to
"hints.ai_family" not being set.

Also the offload API need to know when to free the allocated
"struct addrinfo" instead of calling free() generically,
thus let's use the freeaddrinfo() API for sockets which will
call into the offload API if needed.

Fixes: https://github.com/zephyrproject-rtos/zephyr/issues/18765

Signed-off-by: Jun Qing Zou <jun.qing.zou@nordicsemi.no>
2019-08-30 11:58:00 +02:00
..
bluetooth Bluetooth: ATT: Fix misleading warning 2019-08-30 09:52:01 +02:00
console cleanup: include/: move misc/printk.h to sys/printk.h 2019-06-27 22:55:49 -04:00
cpp cpp: support for 64-bit constructors 2019-07-30 18:55:34 -07:00
debug subsys/debug/tracing: rearrange for standard use of extern "C" 2019-08-19 23:36:59 +02:00
dfu dfu: fix printf formatting in img_util 2019-08-16 20:40:13 +02:00
disk disk: kconfig: Remove redundant DISK_ACCESS_SDHC dependency 2019-08-07 04:27:15 -04:00
fb scripts: gen_cfb_font_header: modify to replicate cfb fonts 2019-07-31 05:43:50 -04:00
fs fs: fcb: Increase temporary buffer in fcb_append 2019-08-27 11:49:33 +02:00
jwt cleanup: include/: move zephyr/jwt.h to data/jwt.h 2019-06-27 22:55:49 -04:00
logging logging: Add basic userspace support 2019-08-27 14:29:21 -04:00
mgmt Bluetooth: GATT: Fix using variable size storage for CCC 2019-08-22 15:14:39 +03:00
net net: lwm2m: support NET_SOCKETS_OFFLOAD in peer parsing 2019-08-30 11:58:00 +02:00
power cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
random cleanup: include/: move entropy.h to drivers/entropy.h 2019-06-27 22:55:49 -04:00
settings Settings: Improve error handling of settings load 2019-08-27 20:15:31 +02:00
shell shell: fix log output when CONFIG_LOG_IMMEDIATE=y 2019-08-14 14:27:14 +02:00
stats cleanup: include/: move stats.h to stats/stats.h 2019-06-27 22:55:49 -04:00
storage subsys/storage/flash_map: detect missing flash device 2019-07-24 09:20:56 -04:00
testsuite logging: Add basic userspace support 2019-08-27 14:29:21 -04:00
usb usb: cdc_acm: enable CONFIG_CDC_ACM_IAD by default 2019-08-29 17:14:45 +02:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00