zephyr/subsys
Robert Lubos 6b00b537aa net: tcp: Fix deadlock with tcp_conn_close()
While improving thread safety of the TCP stack I've introduced a
possible deadlock scenario, when calling tcp_conn_close() in tcp_in().
This function shall not be called with connection mutex locked, as it
calls registered recv callback internally, which could lead to deadlock
between TCP/socket mutexes.

This commit moves the tcp_conn_close() back where it was originally
called. I've verified that the thread safety is still solid with the
test apps used originally.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-12-13 10:39:03 +01:00
..
bindesc subsys/bindesc: Fix kconfig dependency 2023-11-20 12:02:48 +01:00
bluetooth Bluetooth: has: Fix control point error return code 2023-12-13 09:42:04 +01:00
canbus drivers: can: unify spelling of CAN Flexible Data-rate abbreviation 2023-11-01 11:17:17 +00:00
console includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
debug debug: gdbstub: kconfig: Add GDBSTUB_TRACE config option 2023-12-06 17:52:18 +00:00
demand_paging kernel: mm: only include demand_paging.h if needed 2023-11-23 10:01:45 +01:00
dfu dfu: boot: mcuboot_shell: Prevent erasing MCUboot/app flash areas 2023-12-07 14:24:48 +00:00
disk subsys/disk: No need of runtime intialization for disk access part 2023-03-13 18:34:40 +00:00
dsp zdsp: add ARC DSPLIB backend for zdsp 2023-02-21 15:06:06 +01:00
emul emul: Don't panic if matching emul can't be found 2023-07-18 11:09:08 +00:00
fb fb: cfb: Remove unused value 2023-08-14 18:08:59 +00:00
fs flash host fuse access: Fix for native_sim 2023-11-17 09:23:48 +01:00
input input: kbd_matrix: add an kbd_matrix_state shell command 2023-12-08 20:16:39 +00:00
ipc ipc: add dynamically allocated buffers to icmsg 2023-11-13 11:11:43 +01:00
jwt random: Rename random header 2023-10-10 14:23:50 +03:00
llext llext: shell: fix command completions 2023-12-06 18:01:34 -05:00
logging logging: uart: cleanup device runtime PM checks 2023-12-06 18:00:21 -05:00
lorawan lorawan: use callback function signature typedefs 2023-11-13 09:53:32 +01:00
mem_mgmt mem_mgmt: Add a memory attributes memory allocator 2023-11-27 19:56:48 +01:00
mgmt mgmt: mcumgr: improve custom payload types 2023-12-11 18:31:23 +01:00
modbus modbus: Add dependency to UART runtime configuration 2023-11-15 10:02:18 +01:00
modem modem: modem_cmux: Support modem CMUX DCE role 2023-12-08 20:17:58 +00:00
net net: tcp: Fix deadlock with tcp_conn_close() 2023-12-13 10:39:03 +01:00
pm pm: device_runtime: Add delay to async put 2023-12-12 10:57:34 +01:00
portability portability: fix thread function signatures 2023-10-30 12:24:34 +01:00
random syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
retention retention: blinfo: Fix issue with crash writing to keys 2023-10-12 11:53:21 +01:00
rtio syscall: rename Z_OOPS -> K_OOPS 2023-11-03 11:46:52 +01:00
sd sd: add SDIO subsystem 2023-11-06 19:01:08 -05:00
sensing sensing: sensor_mgmt: s/device.h/init.h 2023-08-29 12:17:24 +01:00
settings settings: file: do not unlink the settings file unnecessarily 2023-12-12 13:02:15 +01:00
shell shell: correct z_shell_spaces_trim when len equal to zero 2023-12-12 15:02:58 +01:00
sip_svc subsystem: sip_svc: Reduce the max timeout to 1 second. 2023-09-15 09:26:49 +02:00
stats shell: do not enable subsystem/driver shell modules by default 2023-11-20 09:21:40 +01:00
storage storage: rename shadow variables 2023-08-22 11:39:58 +02:00
task_wdt task_wdt: fix race condition for task_wdt_add function 2023-10-09 16:10:00 +03:00
testsuite tests: userspace: exclude ucans32k1sic due to lack of MPU regions 2023-12-05 16:20:10 -06:00
timing subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
tracing pm: device_runtime: Add delay to async put 2023-12-12 10:57:34 +01:00
usb usb: device_next: add SetFeature(TEST_MODE) support 2023-12-12 15:01:49 +01:00
zbus zbus: remove superflous default n from runtime observers 2023-11-28 15:33:42 +01:00
CMakeLists.txt drivers, subsys: sort the lists again, mark the blocks for checking 2023-11-13 09:41:05 +01:00
Kconfig drivers, subsys: sort the lists again, mark the blocks for checking 2023-11-13 09:41:05 +01:00