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)
Sat, Sep 5, 3:13 PM
Unknown Object (File)
Sat, Sep 5, 1:29 AM
Unknown Object (File)
Wed, Sep 2, 7:13 AM
Unknown Object (File)
Wed, Sep 2, 2:40 AM
Unknown Object (File)
Mon, Aug 31, 9:32 AM
Unknown Object (File)
Mon, Aug 31, 7:10 AM
Unknown Object (File)
Sat, Aug 29, 5:05 AM
Unknown Object (File)
Sat, Aug 29, 1:52 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