You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "yamt (via GitHub)" <gi...@apache.org> on 2023/03/15 01:12:07 UTC

[GitHub] [nuttx] yamt commented on a diff in pull request #8782: tcp: add TCP_MAXSEG support

yamt commented on code in PR #8782:
URL: https://github.com/apache/nuttx/pull/8782#discussion_r1136426605


##########
net/tcp/tcp_recvwindow.c:
##########
@@ -328,7 +328,7 @@ bool tcp_should_send_recvwindow(FAR struct tcp_conn_s *conn)
    * E.g. consider the path MTU
    */
 
-  mss = tcp_rx_mss(dev);
+  mss = conn->mss;

Review Comment:
   my understanding is:
   * conn->mss is mss advertized by the peer via TCP_OPT_MSS.
   * tcp_rx_mss is mss we advertize to the peer via TCP_OPT_MSS.
   
   if these changes are intentional, i guess it needs a bit more explanations.
   



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