mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
Revert "net: limit TCP and UDP send/recv buffer usage with throttled IOB"
This reverts commit fa652f9c24.
When testing iperf on boards such as ESP32-C6, ESP32-C3, and ESP32,
blocking issues are encountered, so the patch is reverted.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
committed by
Filipe do Ó Cavalcanti
parent
9015f40909
commit
d5d6b65213
@@ -62,7 +62,11 @@ int netdev_iob_prepare(FAR struct net_driver_s *dev, bool throttled,
|
||||
|
||||
if (dev->d_iob == NULL)
|
||||
{
|
||||
dev->d_iob = net_iobtimedalloc(throttled, timeout);
|
||||
dev->d_iob = net_iobtimedalloc(false, timeout);
|
||||
if (dev->d_iob == NULL && throttled)
|
||||
{
|
||||
dev->d_iob = net_iobtimedalloc(true, timeout);
|
||||
}
|
||||
}
|
||||
|
||||
if (dev->d_iob == NULL)
|
||||
|
||||
Reference in New Issue
Block a user