mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 22:05:21 +00:00
tcp_get_recvwindow: Add a revisit comment
This commit is contained in:
parent
216194d31b
commit
7d33c01a0a
1 changed files with 6 additions and 0 deletions
|
|
@ -139,6 +139,12 @@ uint16_t tcp_get_recvwindow(FAR struct net_driver_s *dev,
|
|||
*
|
||||
* Note: hopefully, a single mss-sized packet can be queued by
|
||||
* the throttled=false case in tcp_datahandler().
|
||||
*
|
||||
* Revisit: I (yamamoto) am a bit skeptical on this logic.
|
||||
* - Probably this should depend on IOB throttling.
|
||||
* - IOB_BUFSIZE can be smaller than MSS. It seems wrong to
|
||||
* advertize a larger window when no IOBs are available
|
||||
* than when eg. a single IOB is available.
|
||||
*/
|
||||
|
||||
recvwndo = mss;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue