zephyr/subsys
Robert Lubos 38adddac00 net: lwm2m: Reinitialize address length before recvfrom is called
`addrlen` parameter is updated on each `recvfrom` call, indicating the
actual address length returned. In case both, IPv4 and IPv6 are used on
different sockets (i. e. on regular LWM2M socket and FOTA socket), the
returned address length will differ.

In case `from_addr_len` is not reinitialized on each iteration, the
value stored in the `from_addr_len` variable will eventually indicate
the smaller IPv4 address size, therefore resulting in a failure in a
consecutive call on an IPv6 socket.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2020-07-14 13:04:37 +02:00
..
bluetooth Bluetooth: controller: Add missing aux acquire on periodic adv 2020-07-14 12:52:41 +02:00
canbus canbus: canopen: fix reference to CAN in Automation draft standard 2020-06-29 14:10:56 -04:00
console console: tty: Fix k_sem_take with wait time from ISR 2020-06-17 17:10:08 +02:00
cpp cpp: Fixed compile warning with extern array declaration 2020-06-09 14:42:16 +02:00
debug zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dfu config: Rename TEXT_SECTION_OFFSET to ROM_START_OFFSET 2020-07-09 14:02:38 -04:00
disk disk: Remove unused variables in nxp usdhc driver 2020-07-09 07:56:44 -05:00
fb zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
fs subsys/fs: Fix fs_* operations crashing when file closed 2020-07-03 12:16:11 -04:00
jwt zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
logging logging: enhanced external logsystems 2020-06-17 17:08:12 +02:00
mgmt mgmt: correct MPU_ALLOW_FLASH_WRITE selection 2020-07-02 12:28:06 +02:00
net net: lwm2m: Reinitialize address length before recvfrom is called 2020-07-14 13:04:37 +02:00
power soc: arm: st_stm32 add low power to stm32wb series 2020-07-02 08:45:40 -04:00
random random: Add syscalls for random subsystem 2020-07-08 21:05:36 -04:00
settings settings: Fix uninitialised variables 2020-06-17 08:55:59 +03:00
shell shell: Export shell_hexdump_line() 2020-07-07 17:19:26 -04:00
stats zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
storage storage/stream: allow NULL data pointer 2020-06-22 14:36:05 +02:00
testsuite test: remove TEST_SHELL 2020-06-24 21:37:12 -04:00
tracing zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
usb usb: Correct logging level in Audio class. 2020-07-07 19:28:14 -04:00
CMakeLists.txt
Kconfig