Like ospfd allocate the recv buffer with malloc() on first call.
authorclaudio <claudio@openbsd.org>
Tue, 19 Jan 2021 16:02:56 +0000 (16:02 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 19 Jan 2021 16:02:56 +0000 (16:02 +0000)
commit2d4baefbc5138aa494b88e94cd22e77f0efa0a6c
tree46064f8deceaa143e9a632c09aa51bf28ba44c06
parenta915386be2b388b2852580123bd21f71bfcffb10
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/dvmrpd/packet.c