Page MenuHomeFreeBSD

pf: set scope in pf_refragment6()
ClosedPublic

Authored by kp on Mar 13 2023, 5:19 PM.
Tags
None
Referenced Files
F157978775: D39062.diff
Wed, May 27, 2:42 AM
Unknown Object (File)
Mon, May 25, 5:29 AM
Unknown Object (File)
Sun, May 17, 10:40 PM
Unknown Object (File)
Wed, May 6, 12:15 AM
Unknown Object (File)
Thu, Apr 30, 6:49 PM
Unknown Object (File)
Apr 27 2026, 5:55 AM
Unknown Object (File)
Apr 18 2026, 5:14 AM
Unknown Object (File)
Apr 5 2026, 1:08 AM

Details

Summary

Link-local traffic needs to have a scope embedded before it's passed on
to ip6_output(). Do so in pf_refragment6(), because when we end up here
in the output path we may have passed through ip6_output() already
(before being reassembled), where the scope would have been removed.

Re-embed the scope so that link-local traffic is sent correctly.

Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable