mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 23:49:05 +08:00
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>