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

Details

Provenance
kpAuthored on Jun 4 2021, 8:52 AM
Reviewer
donner
Differential Revision
D30719: pf: store L4 headers in pf_pdesc
Parents
rG8b5f4e692b1d: pf: don't hold a lock during copyout()
Branches
Unknown
Tags
Unknown