HomeFreeBSD

Use kmem_malloc() instead of malloc(9) for the native amd64 filter.

Description

Use kmem_malloc() instead of malloc(9) for the native amd64 filter.

r316767 broke the BPF JIT compiler for amd64 because malloc()'d space is no
longer executable.

Discussed with: kib, alc

Details

Provenance
jkimAuthored on
Parents
rS317071: Remove an unnecessary declaration missed in the previous commit.
Branches
Unknown
Tags
Unknown