move memory allocations in pfr_add_addrs() outside of NET_LOCK()/PF_LOCK()
authorsashan <sashan@openbsd.org>
Tue, 16 Nov 2021 20:51:30 +0000 (20:51 +0000)
committersashan <sashan@openbsd.org>
Tue, 16 Nov 2021 20:51:30 +0000 (20:51 +0000)
commit999a6f611a4e145fb42cda51197cf146eb7623f5
tree6c14331711091150b0bee8893dd1268536b05044
parent04e11352c17e6b2c4424012a7b3c4e34150ce083
move memory allocations in pfr_add_addrs() outside of NET_LOCK()/PF_LOCK()
scope.

feedback by bluhm@

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