incubator-nuttx/net/icmp
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
..
Kconfig Squashed commit of the following: 2019-12-31 09:26:14 -06:00
Make.defs net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
icmp.h net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
icmp_conn.c net: Remove the unnecessary initialization code 2022-03-12 19:24:17 +02:00
icmp_input.c net/icmp: replace the common connect prologue 2022-02-10 15:04:33 -03:00
icmp_ioctl.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00
icmp_netpoll.c net/poll: fix race condition if connect free before poll teardown 2022-07-09 19:11:42 +08:00
icmp_poll.c net/icmp: replace the common connect prologue 2022-02-10 15:04:33 -03:00
icmp_recvmsg.c net/inet: move recv/send timeout into socket_conn_s 2022-02-10 15:04:33 -03:00
icmp_reply.c icmp: Fixed replies to broadcasts. 2022-05-13 20:22:06 +08:00
icmp_sendmsg.c net: Ensure sendmsg and sendfile return -EAGAIN in case of timeout 2022-06-28 06:19:13 +03:00
icmp_sockif.c net: tcp/udp/icmp/icmpv6 add FIONSPACE support 2022-04-02 13:39:38 +08:00