zephyr/subsys
Sjors Hettinga c668199b5d net: tcp: Correctly determine when the TCP transmit window is full
In the stack both unacked_len and send_data_total track the amount
of data for retransmission. send_data_total actually accounts the
total bytes in the buffer, where unacked_len is used to control the
retransmission progress.

Using unacked_len is sometimes reset to 0, this can lead to more data
being allowd in the send_data buffer. In worse case this can cause
depletion of the net buffers, causing a stall and crash of the connection.

The value send_data_total actually accounts the total amount of data in
the send_data buffer, so it is the proper value to used in the
tcp_window_full function.

Signed-off-by: Sjors Hettinga <s.a.hettinga@gmail.com>
2022-05-20 19:24:26 -07:00
..
bluetooth Bluetooth: Controller: Rework instant based procedure complete event 2022-05-20 19:22:59 -07:00
canbus
console
cpp
debug
demand_paging
dfu
disk
emul
fb
fs
ipc ipc: static_vrings: Add -ENOMEM case 2022-05-16 16:56:33 +02:00
jwt
logging logging: syst: embed log message source IDs in Sys-T messages 2022-05-09 12:54:53 -05:00
lorawan
mgmt mgmt: img_mgmt: fix typo in variable name 2022-05-16 16:56:18 +02:00
modbus
net net: tcp: Correctly determine when the TCP transmit window is full 2022-05-20 19:24:26 -07:00
pm pm: device_runtime: return -ENOTSUP if PM not supported 2022-05-15 21:34:46 +02:00
portability
random
sd
settings settings: add shell commands to write and delete settings 2022-05-13 10:11:40 -05:00
shell logging: shell: fix shell stats null pointer dereference 2022-05-15 21:32:10 +02:00
stats
storage
task_wdt
testsuite ztest: use TESTSUITE instead of test suite in output 2022-05-13 12:16:57 -04:00
timing
tracing
usb usb: dfu: Enable progressive erase for MCUX FlexSPI flash 2022-05-09 08:54:30 -05:00
CMakeLists.txt
Kconfig