Like ospfd allocate the recv buffer with malloc() on first call.
authorclaudio <claudio@openbsd.org>
Tue, 19 Jan 2021 16:02:22 +0000 (16:02 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 19 Jan 2021 16:02:22 +0000 (16:02 +0000)
commita915386be2b388b2852580123bd21f71bfcffb10
tree1b22df7130eb62e44eb3241a7e252363dfd433fe
parent8efa32dfffc59a50a4a00a391631d196d6639c80
Like ospfd allocate the recv buffer with malloc() on first call.
This code assumes some alignment of the buffer which may not be
the case with bss memory.
usr.sbin/ripd/packet.c