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)
Fri, Sep 18, 8:30 PM
Unknown Object (File)
Sat, Sep 5, 3:51 PM
Unknown Object (File)
Aug 24 2026, 7:54 AM
Unknown Object (File)
Aug 10 2026, 10:49 AM
Unknown Object (File)
Aug 10 2026, 10:47 AM
Unknown Object (File)
Aug 7 2026, 1:27 PM
Unknown Object (File)
Aug 5 2026, 4:01 AM
Unknown Object (File)
Aug 4 2026, 2:42 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