zhhyu7 opened a new pull request, #18689:
URL: https://github.com/apache/nuttx/pull/18689

   ## Summary
   Move conn_unlock() call outside the if block in psock_udp_sendto() to ensure 
the connection lock is always released before returning, preventing a potential 
deadlock when the condition is not met.
   
   ## Impact
   - File changed: net/udp/udp_sendto_buffered.c
   - conn_unlock(&conn->sconn) was previously only called inside a conditional 
block, meaning the lock could remain held on the normal return path. This fix 
ensures it is always released.
   
   ## Testing
   Build and runtime verification on UDP send path.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to