Revert "net: downgrade iob priority of input/udp/icmp to avoid blocking devif"

This reverts commit d87620abc9.
This commit is contained in:
Zhe Weng
2023-01-11 17:00:55 +08:00
committed by Xiang Xiao
parent 4de3387eb2
commit 6222ad5764
8 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -60,10 +60,10 @@ int netdev_iob_prepare(FAR struct net_driver_s *dev, bool throttled,
if (dev->d_iob == NULL)
{
dev->d_iob = net_iobtimedalloc(true, timeout);
if (dev->d_iob == NULL && throttled == false)
dev->d_iob = net_iobtimedalloc(false, timeout);
if (dev->d_iob == NULL && throttled)
{
dev->d_iob = net_iobtimedalloc(false, timeout);
dev->d_iob = net_iobtimedalloc(true, timeout);
}
}