mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 17:43:22 +08:00
IPv6 input currently lets fragmented packets continue into the IP filter path before reassembly. Forwarded IP filter rules can inspect L4 fields, but non-first IPv6 fragments do not carry the transport header. Consume IPv6 fragments through the existing reassembly/drop helper before NAT66 or IP filter processing. This keeps plain IPv6 forwarding unchanged when neither L4-dependent feature is enabled, while avoiding filtering incomplete fragments. Signed-off-by: shichunma <shichunma@bestechnic.com>