zephyr/subsys
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
..
bindesc
bluetooth Bluetooth: Host: Ensure only connected peers affect `_bt_gatt_ccc.value` 2024-11-08 11:35:42 -06:00
canbus
console
dap
debug debug: symtab: fix ignored type qualifiers on func return type 2024-11-06 09:52:36 -08:00
demand_paging
dfu
disk
dsp
emul
fb
fs fs: Fix null pointer exception caused by async fs_unmount 2024-11-07 18:06:58 -06:00
input
ipc
jwt jwt: remove TinyCrypt usage 2024-11-05 13:44:20 -06:00
llext
logging logging: Initialize 'chosen' pointer in z_log_msg_claim_oldest to NULL 2024-10-30 14:28:52 -05:00
lorawan
mem_mgmt
mgmt mgmt: smp: shell: Respond on uart shell device when changed at runtime 2024-11-08 13:57:09 -06:00
modbus
modem modem: cmux: added validation of cmux frame length 2024-11-07 08:31:48 -06:00
net net: sockets: Cleanup socket properly if POSIX API is enabled 2024-11-08 15:56:39 -06:00
pm pm: policy: fix pm_policy_event_register arg 2024-11-05 10:54:41 -06:00
portability
profiling
random random: random_timer.c Remove __GNUC__ ifdef 2024-11-06 10:11:58 -08:00
retention
rtio
sd
secure_storage
sensing
settings
shell shell: backend: websocket: Fix socket service creation 2024-10-25 12:50:54 -05:00
sip_svc
stats
storage storage/stream_flash: Make context const where not modified 2024-10-25 22:45:33 +01:00
task_wdt
testsuite testsuite: coverage: fix typo in the CMakeLists.txt 2024-11-01 13:54:14 -05:00
timing
tracing
usb
zbus
CMakeLists.txt
Kconfig