Page MenuHomeFreeBSD

pf: set scope in pf_refragment6()
ClosedPublic

Authored by kp on Mar 13 2023, 5:19 PM.
Tags
None
Referenced Files
F161488753: D39062.id118754.diff
Sat, Jul 4, 6:15 AM
F161466310: D39062.id118903.diff
Sat, Jul 4, 2:08 AM
Unknown Object (File)
Fri, Jul 3, 1:59 AM
Unknown Object (File)
Thu, Jul 2, 6:33 PM
Unknown Object (File)
Thu, Jul 2, 2:15 PM
Unknown Object (File)
Mon, Jun 15, 7:09 PM
Unknown Object (File)
Jun 4 2026, 1:10 AM
Unknown Object (File)
May 31 2026, 6:44 PM

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 50329
Build 47221: arc lint + arc unit