Page MenuHomeFreeBSD

pf: pool/kpool conversion code
ClosedPublic

Authored by kp on Mar 11 2021, 10:42 AM.
Tags
None
Referenced Files
F164274025: D29216.id.diff
Thu, Jul 30, 6:49 AM
Unknown Object (File)
Tue, Jul 28, 6:54 AM
Unknown Object (File)
Sun, Jul 26, 6:49 PM
Unknown Object (File)
Tue, Jul 21, 3:26 AM
Unknown Object (File)
Tue, Jul 21, 1:50 AM
Unknown Object (File)
Sat, Jul 4, 1:36 PM
Unknown Object (File)
Jun 26 2026, 1:28 AM
Unknown Object (File)
Jun 23 2026, 10:29 PM

Details

Summary

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.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable