summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorAlexandr Nedvedicky <sashan@cvs.openbsd.org>2021-11-11 12:35:02 +0000
committerAlexandr Nedvedicky <sashan@cvs.openbsd.org>2021-11-11 12:35:02 +0000
commit72e2e2b10d9bc6b6ae0cb8468c3d4f7d2c90e544 (patch)
tree1753dc2afa7bc5f775c0623ff7b7af3847b75f67 /sbin/pfctl
parent22110346ff457595da8905a82b17d70ab015ab97 (diff)
Allow pfi_kif_get() callers to pre-allocate buffer for new kif. If kif
object exists already, then caller must free the pre-allocated buffer. If caller does not pre-allocate buffer, the pfi_kif_get() will get memory from pool using M_NOWAIT flag. Commit is also polishing pfi_initialize() a bit so it uses M_WAITOK allocation for pfi_all. there is no change in current behaviour. feedback by bluhm@ OK bluhm@
Diffstat (limited to 'sbin/pfctl')
0 files changed, 0 insertions, 0 deletions