incubator-nuttx/net/icmp
Zhe Weng f71fb738c5 net/icmp: Save poll device in icmp_poll_s
ICMP's conn->dev is changing in icmp_sendmsg, when sending to different
address, or when error occurs (like NETDEV_DOWN). Then the poll callback
cannot be dropped from previous dev in free, because the dev is wrong.

So add dev to struct icmp_poll_s just like struct udp_poll_s.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2023-06-06 19:33:21 +08:00
..
Kconfig nuttx/net:Support to PMTUD 2023-05-12 10:21:52 -03:00
Make.defs nuttx/net:Support to PMTUD 2023-05-12 10:21:52 -03:00
icmp.h net/icmp: Save poll device in icmp_poll_s 2023-06-06 19:33:21 +08:00
icmp_conn.c Performance optimizations in connection allocations. 2023-02-28 14:23:16 +01:00
icmp_input.c nuttx/net:Support to PMTUD 2023-05-12 10:21:52 -03:00
icmp_ioctl.c net: Align the prototype of sock_intf_s::si_ioctl with file_operations::ioctl 2022-09-06 22:46:37 +08:00
icmp_netpoll.c net/icmp: Save poll device in icmp_poll_s 2023-06-06 19:33:21 +08:00
icmp_pmtu.c nuttx/net:Support to PMTUD 2023-05-12 10:21:52 -03:00
icmp_poll.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
icmp_recvmsg.c net: consistent the net sem wait naming conversion 2023-01-15 12:31:30 -03:00
icmp_reply.c support ipv4 ToS and ipv6 TrafficClass 2023-01-29 13:43:44 +08:00
icmp_sendmsg.c net: modify find device logic 2023-02-12 01:25:34 +08:00
icmp_sockif.c net: Make si_accept callback optional 2023-03-06 20:58:27 +02:00