Page MenuHomeFreeBSD

pf: set scope in pf_refragment6()
ClosedPublic

Authored by kp on Mar 13 2023, 5:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 8, 10:43 AM
Unknown Object (File)
Sat, Mar 7, 9:49 PM
Unknown Object (File)
Sun, Mar 1, 4:59 AM
Unknown Object (File)
Wed, Feb 25, 6:54 PM
Unknown Object (File)
Sat, Feb 21, 4:46 AM
Unknown Object (File)
Feb 8 2026, 6:23 AM
Unknown Object (File)
Feb 8 2026, 12:31 AM
Unknown Object (File)
Jan 31 2026, 3:47 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