Skip to content
  • Kristof Provost's avatar
    pf: pool/kpool conversion code · 7d588615
    Kristof Provost authored
    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
    
    (cherry picked from commit 15b82e00)
    7d588615