[Bug 254675] ICMP Unreach needfrag is broken in 13.0-RC4
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 31 20:35:44 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254675
--- Comment #3 from Alexander V. Chernikov <melifaro at FreeBSD.org> ---
For the context, we have switched fastforwarding on by default:
https://cgit.freebsd.org/src/commit/?id=8ad114c082a159c0dde95aa35d2e3e108aa30a75
In 12.2 the codepath was ip_input() -> ip_forward() -> ip_output(), where
ip_forward() created mbuf copy for the purposes of generating various ICMP
messages.
Fastforward code currently don't do this for performance reasons, except for
the redirect usecase.
As a result, we use (possibly altered) packet to generate the redirect.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list