[PATCH v2] lib/slab: introduce sl_allocz() function and use it in Babel
Ondrej Zajicek
santiago at crfreenet.org
Tue Nov 24 04:35:54 CET 2020
On Mon, Nov 23, 2020 at 11:07:04AM +0100, Toke Høiland-Jørgensen wrote:
> The babel protocol code was initialising objects returned from the slab
> allocator by assigning to each of the struct members individually, but
> wasn't touching the NODE member while doing so. This leads to warnings on
> debug builds since commit:
>
> baac7009063d ("List expensive check.")
Thanks, merged.
Actually, i used few parts from v1.
--
Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
More information about the Bird-users
mailing list