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 2022/11/11 03:25:27 UTC

[GitHub] [incubator-nuttx] zhhyu7 opened a new pull request, #7574: dns: Reduce the dns_lock granularity

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

   When a7 curl calls dns_query via usrsock, it will wait a usrsock response with the dns lock held. If a7 rptun recv a dns_addnameserver event from another core at this time, rptun waits the lock held by curl in callback. Then curl will never get its usrsock response with rptun blocked, so the deadlock occurs.
   
   This change will break lock when do usrsock request.
   
   Signed-off-by: zhanghongyu <zh...@xiaomi.com>
   
   ## Summary
   
   ## Impact
   
   ## Testing
   
   


-- 
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


[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #7574: dns: Reduce the dns_lock granularity

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7574:
URL: https://github.com/apache/incubator-nuttx/pull/7574


-- 
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