Page MenuHomeFreeBSD

pf: pool/kpool conversion code
ClosedPublic

Authored by kp on Mar 11 2021, 10:42 AM.
Tags
None
Referenced Files
F132386419: D29216.id85824.diff
Thu, Oct 16, 11:24 AM
Unknown Object (File)
Sun, Oct 12, 7:48 PM
Unknown Object (File)
Sun, Oct 12, 3:48 PM
Unknown Object (File)
Sun, Oct 12, 4:38 AM
Unknown Object (File)
Sun, Oct 12, 4:38 AM
Unknown Object (File)
Sat, Oct 11, 6:39 PM
Unknown Object (File)
Thu, Oct 9, 5:45 AM
Unknown Object (File)
Wed, Oct 8, 3:45 AM

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