nuttx/net/icmpv6
chao.an 8ae8c10954 net/poll: fix race condition if connect free before poll teardown
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>
2022-07-09 19:11:42 +08:00
..
icmpv6_advertise.c net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
icmpv6_autoconfig.c net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
icmpv6_conn.c net: Remove the unnecessary initialization code 2022-03-12 19:24:17 +02:00
icmpv6_input.c net/icmpv6: replace the common connect prologue 2022-02-10 15:04:33 -03:00
icmpv6_ioctl.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
icmpv6_linkipaddr.c
icmpv6_neighbor.c net/devif/devif_callback.c: corrected the connection event list to work as FIFO instead of LIFO. 2021-09-18 21:01:39 -05:00
icmpv6_netpoll.c net/poll: fix race condition if connect free before poll teardown 2022-07-09 19:11:42 +08:00
icmpv6_notify.c
icmpv6_poll.c net/icmpv6: replace the common connect prologue 2022-02-10 15:04:33 -03:00
icmpv6_radvertise.c net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
icmpv6_recvmsg.c net/inet: move recv/send timeout into socket_conn_s 2022-02-10 15:04:33 -03:00
icmpv6_reply.c net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
icmpv6_rnotify.c net: use HTONS, NTOHS, HTONL, NTOHL macro in kernel code 2022-01-18 10:59:47 +01:00
icmpv6_rsolicit.c net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
icmpv6_sendmsg.c net: Ensure sendmsg and sendfile return -EAGAIN in case of timeout 2022-06-28 06:19:13 +03:00
icmpv6_sockif.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
icmpv6_solicit.c net: unify FAR keyword usage for all net buffer memory mapped buffers 2022-01-20 01:42:56 +08:00
icmpv6.h net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
Kconfig
Make.defs net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00