8ae8c10954
Net poll teardown is not protected by net lock, if the conn is released before teardown, the assertion failure will be triggered during free dev callback, this patch will add the net lock around net poll teardown to fix race condition nuttx/libs/libc/assert/lib_assert.c:36 nuttx/net/devif/devif_callback.c:85 nuttx/net/tcp/tcp_netpoll.c:405 nuttx/fs/vfs/fs_poll.c:244 nuttx/fs/vfs/fs_poll.c:500 Signed-off-by: chao.an <anchao@xiaomi.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
icmp.h | ||
icmp_conn.c | ||
icmp_input.c | ||
icmp_ioctl.c | ||
icmp_netpoll.c | ||
icmp_poll.c | ||
icmp_recvmsg.c | ||
icmp_reply.c | ||
icmp_sendmsg.c | ||
icmp_sockif.c |