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



##########
File path: net/tcp/tcp_appsend.c
##########
@@ -212,10 +212,8 @@ void tcp_appsend(FAR struct net_driver_s *dev, FAR struct 
tcp_conn_s *conn,
     {
       conn->tcpstateflags = TCP_FIN_WAIT_1;
       conn->tx_unacked    = 1;
-      conn->nrtx          = 0;
-#ifdef CONFIG_NET_TCP_WRITE_BUFFERS
       conn->sndseq_max    = tcp_getsequence(conn->sndseq) + 1;
-#endif
+      conn->nrtx          = 0;

Review comment:
       why 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-unsubscr...@nuttx.apache.org

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


Reply via email to