HomeFreeBSD

pf: Allocate and free pfi_kkif in separate functions

Description

pf: Allocate and free pfi_kkif in separate functions

Factor out allocating and freeing pfi_kkif structures. This will be
useful when we change the counters to be counter_u64, so we don't have
to deal with that complexity in the multiple locations where we allocate
pfi_kkif structures.

No functional change.

MFC after: 2 weeks
Sponsored by: Orange Business Services
Differential Revision: https://reviews.freebsd.org/D27762

(cherry picked from commit 26c841e2a402ed43896313d1b3f00facaa9d839f)

Details

Provenance
kpAuthored on Dec 13 2020, 10:36 AM
Differential Revision
D27762: pf: Allocate and free pfi_kkif in separate functions
Parents
R10:051f0103dc19: pf: Split pfi_kif into a user and kernel space structure
Branches
Unknown
Tags
Unknown