From 2ce0457edb048272ba97b35a414e23f76bf7586d Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 28 May 2021 17:03:55 +0900 Subject: [PATCH] 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 795f7153f3..4d81f14d07 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;