incubator-nuttx/include/nuttx/rptun
ligd 8a3683fb9f rptun: add ns_match callback to resolve rptun deadlock
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>
2022-07-27 20:36:51 +08:00
..
openamp.h rptun: add ns_match callback to resolve rptun deadlock 2022-07-27 20:36:51 +08:00
rptun.h rptun_ping: add sleep param to rptun_ping 2022-07-27 20:36:51 +08:00