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> |
||
|---|---|---|
| .. | ||
| ip | ||
| l2 | ||
| lib | ||
| pkt_filter | ||
| buf.c | ||
| CMakeLists.txt | ||
| hostname.c | ||
| Kconfig | ||
| Kconfig.hostname | ||
| Kconfig.template.log_config.default.net | ||
| Kconfig.template.log_config.net | ||