jlaitine commented on PR #17010: URL: https://github.com/apache/nuttx/pull/17010#issuecomment-3291136151
@xiaoxiang781216 I added the inode_lock around the search as well as a mutex (as a separate patch) into cdcacm driver. The mutex now fixes the existing race condition which you pointed out, but of course only in the case when the pointer is managed in kernel/fs only. Many board files manage the pointer directly, but in these cases it is up to the boards to fix any races if ever needed. -- 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