zephyr/subsys/net/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
..
capture net: lib: capture: Fix build error 2024-10-25 08:52:22 +02:00
coap net: lib: coap_client: Remove unnecessary atomic variable 2024-10-31 14:17:58 -05:00
config usb: device_next: NCM driver for usb-next 2024-10-17 15:38:00 -04:00
dhcpv4 net: dhcpv4: Fix DNS server list allocation 2024-11-04 13:40:56 -06:00
dhcpv6 net: dhcpv6: adjust switch-case in dhcpv6_enter_state 2024-09-20 11:06:03 +02:00
dns net: dns: Convert the query and answer to small case letters 2024-11-04 13:41:17 -06:00
http net: http_server: Fix possible buffer underrun 2024-10-29 07:06:50 -05:00
lwm2m net: lwm2m: Add TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 to cipher list 2024-10-30 14:27:40 -05:00
mqtt net: mqtt: Fix missing close function 2024-10-31 09:22:44 -05:00
mqtt_sn lib: net_buf: rename header file from zephyr/net/buf.h to zephyr/net_buf.h 2024-09-07 11:19:05 -05:00
prometheus net: add initial prometheus client library 2024-10-18 14:17:11 +02:00
ptp net: ptp: Properly handle second overflow/underflow 2024-08-06 09:17:26 +01:00
shell lib: shell: net: sockets: service: don't show type 2024-10-23 11:32:21 +02:00
sntp net: lib: sntp_simple: Handle responses from previous iterations 2024-11-08 11:37:02 -06:00
sockets net: sockets: Cleanup socket properly if POSIX API is enabled 2024-11-08 15:56:39 -06:00
socks
tftp
tls_credentials net: lib: fix typo 2024-07-12 09:33:20 -04:00
trickle
utils
websocket shell: backend: Create a websocket transport backend 2024-10-15 04:11:03 -04:00
wifi_credentials net: lib: wifi_credentials: add connect-stored feature 2024-10-22 08:21:04 -04:00
zperf net: sockets: socket_service: remove k_work related code 2024-10-23 11:32:21 +02:00
CMakeLists.txt net: lib: add wifi_credentials library 2024-10-22 08:21:04 -04:00
Kconfig net: lib: add wifi_credentials library 2024-10-22 08:21:04 -04:00