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

   ## Summary
   
   cdcuart_txempty() held priv->lock across EP_POLL(), which re-enters the 
class through cdcacm_wrcomplete() and takes that same non-recursive lock, and 
then took it a second time to read nwrq. Release it after the disconnected 
check, matching cdcuart_txready()/cdcuart_rxavailable().
   
   Fixes: cc067ab199bb ("drivers/usbdev/cdcacm.c: Use small lock to protect 
cdcacm")
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


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