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