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
..
2023-05-12 10:21:52 -03:00
2023-05-12 10:21:52 -03:00
2023-02-12 01:25:34 +08:00
2023-05-12 10:21:52 -03:00
2023-05-12 10:21:52 -03:00