HomeFreeBSD

pf: store L4 headers in pf_pdesc

Description

pf: store L4 headers in pf_pdesc

Rather than pointers to the headers store full copies. This brings us
slightly closer to what OpenBSD does, and also makes more sense than
storing pointers to stack variable copies of the headers.

Reviewed by: donner, scottl
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30719

(cherry picked from commit d38630f6192a40934912fbffc52c9650776c2b53)

Details

Provenance
kpAuthored on Jun 4 2021, 8:52 AM
Reviewer
donner
Differential Revision
D30719: pf: store L4 headers in pf_pdesc
Parents
rG27d14a1e5cb2: pf: Mark struct pf_pdesc as kernel only
Branches
Unknown
Tags
Unknown