zephyr/lib
Jukka Rissanen 04d8b7c595 net: sockets: Cleanup socket properly if POSIX API is enabled
The sock_obj_core_dealloc() was not called if close() is called
instead of zsock_close(). This happens if POSIX API is enabled.

Fix this by calling zvfs_close() from zsock_close() and then
pass the socket number to zsock_close_ctx() so that the cleanup
can be done properly.

Reported-by: Andreas Ålgård <aal@ixys.no>
Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-11-08 15:56:39 -06:00
..
acpi
cpp
crc lib: crc: add `crc8_rohc` for CRC-8/ROHC variant calculation 2024-10-09 09:48:00 +02:00
hash
heap
libc cmake: libc: minimal: Avoid linking against other libc implementations 2024-10-30 14:29:37 -05:00
mem_blocks
net_buf net: buf: increase log level of timeout ignore 2024-10-10 14:59:16 -04:00
open-amp openamp: resource table: fixes resource table for ram_console section 2024-11-08 15:55:11 -06:00
os net: sockets: Cleanup socket properly if POSIX API is enabled 2024-11-08 15:56:39 -06:00
posix posix: kconfig: remove select y from non-user-selectable help 2024-10-14 13:01:51 +02:00
runtime
smf
utils json: support parsing and serializing 'uint64_t' 2024-10-05 14:04:48 -04:00
CMakeLists.txt
Kconfig