zephyr/subsys
Robert Lubos 7deabaa77b net: tcp: Fix possible double TCP context dereferencing
In case TCP connection is being closed from the TCP stack, due to for
instance retransmission timeout, the stack should also switch the TCP
state to CLOSED. Otherwise, there was a risk of dereferencing the TCP
context twice, for example if the application was in active socket
send(), and tried to reschedule data transmission.

Additionally, make sure that the TCP_CLOSED state handling is a no-op
state - otherwise, there is a risk that if packets keep incoming before
the application dereferences the TCP context on its side, TCP stack
will incorrectly dereference the context for the second time from
within due to current TCP_CLOSED state logic.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2023-06-06 11:11:22 -04:00
..
bluetooth Bluetooth: audio: tbs_client: Remove GATT subscriptions upon disconnection 2023-06-06 11:10:10 -04:00
canbus canbus: isotp: fix single frame state machine stuck issue 2023-04-12 17:45:04 +02:00
console
debug coredump: Add memory wirte pointer fo intel ADSP memory window backend 2023-05-31 14:38:58 -04:00
demand_paging
dfu dfu: mcuboot_shell: Add command to enter serial recovery 2023-04-24 13:27:53 +02:00
disk
dsp
emul iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
fb fb: cfb_shell: correct invert command implementation 2023-05-26 09:49:25 -04:00
fs nvs: Fix missing nvs_ate.part init in nvs_add_gc_done_ate 2023-06-05 10:49:15 -04:00
input iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
ipc ipc: icmsg: Add mutual exclussion access to shmem 2023-04-29 12:24:17 +02:00
jwt
logging logging: log_output: Fix for Coverity issue 316014 2023-06-02 15:07:08 -04:00
lorawan lorawan: initialise data structures earlier 2023-06-01 13:44:16 -04:00
mgmt mgmt: mcumgr: grp: fs_mgmt: Fix unchecked return value 2023-06-05 07:06:37 -04:00
modbus modbus: cancel the server_work in modbus disable 2023-05-22 10:50:20 +02:00
net net: tcp: Fix possible double TCP context dereferencing 2023-06-06 11:11:22 -04:00
pm pm: policy: Selectively compile on "zephyr,power-state" compatible 2023-06-02 18:56:39 -04:00
portability
random init: remove the need for a dummy device pointer in SYS_INIT functions 2023-04-12 14:28:07 +00:00
retention retention: Add optional mutex disablement 2023-04-24 13:27:53 +02:00
rtio iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
sd sd: Return ret if error in sdmmc_spi_read_cxd 2023-03-28 09:23:47 +02:00
settings iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
shell Shell: Add shell_strtoull 2023-06-05 07:05:20 -04:00
sip_svc iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
stats
storage storage: flash_map list partition labels 2023-05-05 10:02:19 +02:00
task_wdt
testsuite testsuite: group all test-related APIs under 'testing' 2023-05-31 14:39:29 -04:00
timing
tracing iterable_sections: move to specific header 2023-05-22 10:42:30 +02:00
usb USB-C: genVIF: Cleanup and add support to pick static data from input 2023-05-26 13:54:43 -04:00
zbus zbus: remove POSIX arch iterable sections restriction 2023-05-23 22:09:33 +02:00
CMakeLists.txt subsystem: sip_svc: Add ARM SiP SVC subsystem 2023-05-09 08:46:50 -04:00
Kconfig subsystem: sip_svc: Add ARM SiP SVC subsystem 2023-05-09 08:46:50 -04:00