This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 2ce0457edb048272ba97b35a414e23f76bf7586d Author: YAMAMOTO Takashi <[email protected]> AuthorDate: Fri May 28 17:03:55 2021 +0900 tcp_get_recvwindow: Add a comment --- net/tcp/tcp_recvwindow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/tcp/tcp_recvwindow.c b/net/tcp/tcp_recvwindow.c index 795f715..4d81f14 100644 --- a/net/tcp/tcp_recvwindow.c +++ b/net/tcp/tcp_recvwindow.c @@ -136,6 +136,9 @@ uint16_t tcp_get_recvwindow(FAR struct net_driver_s *dev, { /* Advertise maximum segment size for window edge if here is no * available iobs on current "free" connection. + * + * Note: hopefully, a single mss-sized packet can be queued by + * the throttled=false case in tcp_datahandler(). */ recvwndo = mss;
