HomeFreeBSD

Revert "ipfilter: Avoid allocating a new ipf token when not needed"

Description

Revert "ipfilter: Avoid allocating a new ipf token when not needed"

malloc() outside of a write lock will reduce potential contention.

MFC after: 3 days

This reverts commit 7f5e3b9fa3d159b7f061b4d01a767cbe5d0527f3.

(cherry picked from commit cf9b6857545371ab5becc6a785c62bc844cb2f94)

Details

Provenance
cyAuthored on Jul 7 2025, 4:50 PM
Parents
rG35ce5a0f6d3f: amd64/pmap: include opt_kstack_pages.h
Branches
Unknown
Tags
Unknown
Reverts
rG7f5e3b9fa3d1: ipfilter: Avoid allocating a new ipf token when not needed