zephyr/subsys/net
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
..
conn_mgr cmake: linker: evaluate CONFIG_LINKER_ITERABLE_SUBALIGN in CMake 2024-09-25 16:16:35 -05:00
ip net: ipv6: fragmentation: Drop the packet if fragmentation fails 2024-11-08 11:37:49 -06:00
l2 net: wifi: Fix 11k command errors 2024-11-07 18:42:15 -08:00
lib net: sockets: Cleanup socket properly if POSIX API is enabled 2024-11-08 15:56:39 -06:00
pkt_filter
CMakeLists.txt net: silence no sources cmake warning 2024-10-18 14:14:56 +02:00
Kconfig lib: net_buf: move the network buffer implementation to lib 2024-09-07 11:19:05 -05:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net net: Give name to logging choice 2024-09-30 12:10:42 +01:00
hostname.c