mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 08:10:21 +00:00
thread A: accept -> net_lock -> socket_rpmsg_accept
-> rpmsg_register_callabck -> rptun_lock
thread B: ns_bind -> rpmsg_socket_ns_bind -> get_tx_payload_buffer
-> rptun_wait_tx -> usrsock_rpmsg_ept_cb -> usrsockdev_write
-> net_lock -> deadlock
fix:
add ns_match callback
Signed-off-by: ligd <liguiding1@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Make.defs | ||
| rptun.c | ||
| rptun.h | ||
| rptun_dump.c | ||
| rptun_ping.c | ||