Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2021 20:35:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254675] ICMP Unreach needfrag is broken in 13.0-RC4
Message-ID:  <bug-254675-227-yyep2dFmgX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254675-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254675-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254675

--- Comment #3 from Alexander V. Chernikov <melifaro@FreeBSD.org> ---
For the context, we have switched fastforwarding on by default:
https://cgit.freebsd.org/src/commit/?id=3D8ad114c082a159c0dde95aa35d2e3e108=
aa30a75

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254675-227-yyep2dFmgX>