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

   ## Summary
   
   If using flow control with a high CTS the thread may be blocked forever on 
the second transmit attempt due to waiting on the txdma semaphore. The calling 
thread can then never make progress and release any resources it has taken, 
thus may cause a deadlock in other parts of the system.
   
   The implementation differs in behavior from interrupt-driven TX and the 
STM32F7 TXDMA . It should not implicitly wait on a taken semaphore but return 
immediately and let the upper layers decide on what to do next.
   
   See a more detailed analysis here: 
https://github.com/PX4/PX4-Autopilot/pull/22302
   
   cc @davids5 


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