You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2023/01/05 14:49:38 UTC

[GitHub] [nuttx] pkarashchenko commented on a diff in pull request #8029: net: downgrade iob priority of input/udp/icmp to avoid blocking devif

pkarashchenko commented on code in PR #8029:
URL: https://github.com/apache/nuttx/pull/8029#discussion_r1062557325


##########
net/netdev/netdev_iob.c:
##########
@@ -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(false, timeout);
-      if (dev->d_iob == NULL && throttled)
+      dev->d_iob = net_iobtimedalloc(true, timeout);
+      if (dev->d_iob == NULL && throttled == false)

Review Comment:
   `!throttled`



-- 
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: commits-unsubscribe@nuttx.apache.org

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