zephyr/subsys/net
Robert Lubos 0088aaefa0 net: tcp: Do not accept new data in retransmission mode
When TCP stack enters retransmission mode, the variable tracking the
amount of unacknowledged data is cleared. This prevents the stack from
detecting when TX window is full, which could lead to queueing unlimited
amount of data, effectively consuming all of the avaiable network
buffers.

Prevent this, by returning early from net_tcp_queue_data() in case TCP
stack is in retransmission mode. The socket layer will take care of
retrying just as in case the window is full.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-03-30 11:08:22 +02:00
..
ip net: tcp: Do not accept new data in retransmission mode 2022-03-30 11:08:22 +02:00
l2 net: gptp: Fix type mismatch calculation error in gptp_mi 2022-03-28 12:47:41 +02:00
lib sys: util: Change return type of ARRAY_SIZE to size_t 2022-03-23 14:09:23 +01:00
pkt_filter kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
buf.c net: buf: move user_data to flexible arr member 2021-11-24 16:04:50 +02:00
CMakeLists.txt net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
hostname.c
Kconfig net: introduce a network packet filter framework 2021-12-21 17:06:35 +01:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net