Introduce M_PF type for pf(4) related memory allocations. Currently used
authormvs <mvs@openbsd.org>
Fri, 30 Jun 2023 09:58:30 +0000 (09:58 +0000)
committermvs <mvs@openbsd.org>
Fri, 30 Jun 2023 09:58:30 +0000 (09:58 +0000)
commit062cda8b8dbd75d269fa4d5242973909ddd5e38c
tree872016a9a5959cee1e7a971a86d82d4974d02595
parent5f0c994b3e51cb13cbb2a0f8f313942220e82fdc
Introduce M_PF type for pf(4) related memory allocations. Currently used
M_TEMP and M_IFADDR types are unreasonable for that purpose. This
dedicated statistics simplify the future pf(4) unlocking work by
decreasing search area of possible memory leaks.

ok bluhm sashan
sys/net/pf_if.c
sys/net/pf_ioctl.c
sys/net/pf_ruleset.c
sys/sys/malloc.h