HomeFreeBSD

pf: set scope in pf_refragment6()

Description

pf: set scope in pf_refragment6()

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")
Differential Revision: https://reviews.freebsd.org/D39062

Details

Provenance
kpAuthored on Mar 13 2023, 9:27 AM
Differential Revision
D39062: pf: set scope in pf_refragment6()
Parents
rGb52b61c0b6b1: pf: distinguish forwarding and output cases for pf_refragment6()
Branches
Unknown
Tags
Unknown