jerpelea opened a new pull request, #19696:
URL: https://github.com/apache/nuttx/pull/19696

   ## Summary
   
   The condition work_available(&conn->work) && tx_unacked != 0 prevented 
tcp_update_retrantimer from being called when the work queue was still busy, 
leaving conn->timer stale or zero on subsequent sends. This caused the RTT 
estimation to compute a false RTT (m = rto - 0 = rto), creating a positive 
feedback loop that inflated the RTO to extreme values (e.g., 232 half-seconds = 
~116 seconds).
   
   Fix: remove the work_available check so that tcp_update_retrantimer is 
always called when there is unacknowledged data. The decision to re-queue the 
work is handled internally by tcp_update_timer.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to