acassis commented on code in PR #12419:
URL: https://github.com/apache/nuttx/pull/12419#discussion_r1619229914


##########
net/udp/udp_conn.c:
##########
@@ -816,6 +816,10 @@ int udp_bind(FAR struct udp_conn_s *conn, FAR const struct 
sockaddr *addr)
     }
 #endif
 
+  /* Interrupts must be disabled while access the UDP connection list */
+
+  net_lock();

Review Comment:
   I think we both looked at only local scope.



-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to