xiaoxiang781216 commented on code in PR #7528:
URL: https://github.com/apache/incubator-nuttx/pull/7528#discussion_r1014963738


##########
net/sixlowpan/sixlowpan_tcpsend.c:
##########
@@ -242,33 +242,19 @@ static int sixlowpan_tcp_header(FAR struct tcp_conn_s 
*conn,
   memcpy(ipv6tcp->tcp.ackno, conn->rcvseq, 4);    /* ACK number */
   memcpy(ipv6tcp->tcp.seqno, conn->sndseq, 4);    /* Sequence number */
 
-  /* Set the TCP window */
+  /* Update the TCP received window based on I/O buffer availability */
 
-  if (conn->tcpstateflags & TCP_STOPPED)

Review Comment:
   The problem is that the code doesn't work as expect. If someone plan to 
implement shutdown function in the future, he will bring back the similar code.
   I am fine to keep with the dead code, @patacongo what your opinion?



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