nuttx/net/icmp
daichuan 32ffc69bdd net/icmp: Fix devif_loopback dead loop when unrecognized ICMP packet received
When an unrecognized ICMP (type=3, code=2) packet is received, the ICMP flow does not set dev->d_len to 0, causing a devif_loopback dead loop.

Therefore, in ICMP input processing, when an ICMP_DEST_UNREACHABLE message is received, if it is not ICMP_FRAG_NEEDED code, jump to typeerr for error handling.

Signed-off-by: daichuan <daichuan@xiaomi.com>
2026-01-20 06:56:27 +08:00
..
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
icmp.h net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
icmp_conn.c net: change conn lock from mutex to rmutex 2025-12-29 09:42:18 +08:00
icmp_input.c net/icmp: Fix devif_loopback dead loop when unrecognized ICMP packet received 2026-01-20 06:56:27 +08:00
icmp_ioctl.c net/icmp: replace net_lock with conn_lock and conn_lock_dev 2025-12-29 09:42:18 +08:00
icmp_netpoll.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
icmp_pmtu.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
icmp_poll.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
icmp_recvmsg.c net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
icmp_reply.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
icmp_sendmsg.c net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
icmp_sockif.c net/ioctl: add a socket interface for ioctl 2025-12-29 14:38:15 +08:00
Kconfig net: Refresh config dependency of NET_READAHEAD 2024-12-20 20:01:19 +08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00