wenquan2015 commented on PR #22089:
URL: https://github.com/apache/nuttx/pull/22089#issuecomment-7034561920
Do we need to consider this scenario? With this change, a local peer's data
can use up the whole throttle reserve. On loopback, the segment buffer comes
from netdev_iob_prepare(dev, false, 0) (not throttled) and ends up in the
read-ahead buffer. Once the pool is empty, the ACK
cannot be built (tcp_send() returns when d_iob is NULL), and the RX rings
of other devices cannot be refilled. If the local reader is slow or stuck, all
networking stops until it reads, including connections to remote peers.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]