Page MenuHomeFreeBSD

pf: pool/kpool conversion code
ClosedPublic

Authored by kp on Mar 11 2021, 10:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 7, 6:15 PM
Unknown Object (File)
Feb 11 2024, 8:12 PM
Unknown Object (File)
Dec 20 2023, 4:13 AM
Unknown Object (File)
Dec 14 2023, 10:43 PM
Unknown Object (File)
Dec 5 2023, 11:35 AM
Unknown Object (File)
Nov 23 2023, 12:39 AM
Unknown Object (File)
Oct 5 2023, 2:00 PM
Unknown Object (File)
Sep 11 2023, 1:25 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37768
Build 34657: arc lint + arc unit