anchao opened a new pull request #2413:
URL: https://github.com/apache/incubator-nuttx/pull/2413


   ## Summary
   net/tcp: correct the available iobs count if throttle is enabled 
   
   The number of available iobs is already sub in iob_navail(true) on line 114
   
   ```
   net/tcp/tcp_recvwindow.c:
   ...
    73 uint16_t tcp_get_recvwindow(FAR struct net_driver_s *dev)
   ...
   114   niob_avail    = iob_navail(true);
   ```
   
   Change-Id: I230927904d8db08ed8d95d7fa18c5c5fce08aa5e
   Signed-off-by: chao.an <anc...@xiaomi.com>
   
   ## Impact
   
   enable CONFIG_IOB_THROTTLE
   
   ## Testing
   
   set the CONFIG_IOB_THROTTLE > 0 and check the window edge
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to