move memory allocations in pfr_add_tables() out of
authorsashan <sashan@openbsd.org>
Tue, 10 May 2022 23:12:25 +0000 (23:12 +0000)
committersashan <sashan@openbsd.org>
Tue, 10 May 2022 23:12:25 +0000 (23:12 +0000)
commitde97784bae590f3bed548339caca009d64cfd871
treed004a60c5f76b040bf6aefac718496c883239773
parentbe93862e1464f552e5079fcd3af626e6cfad4b93
move memory allocations in pfr_add_tables() out of
NET_LOCK()/PF_LOCK() scope. bluhm@ helped a lot
to put this diff into shape.

OK bluhm@
sys/net/pf_ioctl.c
sys/net/pf_table.c