zhhyu7 opened a new pull request, #11009: URL: https://github.com/apache/nuttx/pull/11009
## Summary When tun_txavail_work is running, switch to tun_close thread and priv->lock will be destroyed, then switch back to tun_txavail_work thread, an error will occur when nxmutex_unlock(&priv->lock). The previous modified mode was found to have a deadlock(net_lock and tun_lock) problem after stress testing, revert the previous patch, the new implementation was fix the error and avoids the deadlock issue. ## Impact ## Testing Cortex-M33 -- 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