mirror of
https://github.com/apache/nuttx.git
synced 2026-08-08 14:07:17 +00:00
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> |
||
|---|---|---|
| .. | ||
| icmp.h | ||
| icmp_conn.c | ||
| icmp_input.c | ||
| icmp_ioctl.c | ||
| icmp_netpoll.c | ||
| icmp_pmtu.c | ||
| icmp_poll.c | ||
| icmp_recvmsg.c | ||
| icmp_reply.c | ||
| icmp_sendmsg.c | ||
| icmp_sockif.c | ||
| Kconfig | ||
| Make.defs | ||