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 2022/11/07 02:32:41 UTC
[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a diff in pull request #7528: net/tcp: Remove the unused TCP_STOPPED flags
xiaoxiang781216 commented on code in PR #7528:
URL: https://github.com/apache/incubator-nuttx/pull/7528#discussion_r1014955966
##########
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:
Sorry, I mean there isn't code to set STOPPED flag, not no check:(.
--
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