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/12/27 23:48:37 UTC

[GitHub] [incubator-nuttx] a-lunev commented on a change in pull request #4656: net/tcp(unbuffered): fixed an issue with unackseq calculation.

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



##########
File path: net/tcp/tcp_appsend.c
##########
@@ -241,6 +239,7 @@ void tcp_appsend(FAR struct net_driver_s *dev, FAR struct tcp_conn_s *conn,
            */
 
           conn->tx_unacked += dev->d_sndlen;
+          conn->sndseq_max += dev->d_sndlen;

Review comment:
       As issue #4659 is already fixed, I have optimized (simplified) patch #4656, and sndseq_max is not touched in the updated patch.




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