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

   *Note: Please adhere to [Contributing 
Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).*
   
   ## Summary
   
   1. TCP sequence number equality check in tcp_input: Added a condition to 
detect when sndseq equals ackseq, addressing an issue where conn->nrtx wasn't 
cleared during timer-triggered retransmissions. This prevented conn->rto errors 
from accumulating and excessive timer delays.
   2. WB_NACK reset on fast retransmit threshold: Modified the code to reset 
wb_nack to zero when it reaches the TCP fast retransmit threshold. This 
resolved a problem where the protocol stack would stop sending retransmission 
messages, causing the peer to fail receiving critical data.
   
   These changes collectively enhance TCP reliability by ensuring proper 
handling of retransmission scenarios and preventing protocol stack deadlocks in 
challenging network conditions.
   
   
   ## Impact
   
   tcp retransmission
   
   ## Testing
   It has passed self-testing in true machine(speaker equipment)
   
   


-- 
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