You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/10/11 03:16:17 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4656: tcp: fixed issues with unackseq calculation.

xiaoxiang781216 commented on a change in pull request #4656:
URL: https://github.com/apache/incubator-nuttx/pull/4656#discussion_r725762908



##########
File path: net/tcp/tcp_input.c
##########
@@ -1031,11 +1027,9 @@ static void tcp_input(FAR struct net_driver_s *dev, uint8_t domain,
               {
                 conn->tcpstateflags = TCP_LAST_ACK;
                 conn->tx_unacked    = 1;
+                conn->sndseq_max    = tcp_getsequence(conn->sndseq) + 1;

Review comment:
       why need change the order?




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org