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:
zhanghongyu
2026-01-22 21:27:14 +08:00
committed by Filipe do Ó Cavalcanti
parent 9015f40909
commit d5d6b65213
13 changed files with 47 additions and 25 deletions
+5 -1
View File
@@ -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)