HomeFreeBSD

pf: pool/kpool conversion code

Description

pf: pool/kpool conversion code

stuct pf_pool and struct pf_kpool are different. We should not simply
bcopy() them.

Happily it turns out that their differences were all pointers, and the
userspace provided pointers were overwritten by the kernel, so this did
actually work correctly, but we should fix it anyway.

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

Details

Provenance
kpAuthored on Mar 11 2021, 10:37 AM
Reviewer
glebius
Differential Revision
D29216: pf: pool/kpool conversion code
Parents
rG060f0a17bbf5: Revert "include: Remove symlink installation"
Branches
Unknown
Tags
Unknown