f71fb738c5
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_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 | ||
icmp.h | ||
Kconfig | ||
Make.defs |