[PATCH v2] lib/slab: introduce sl_allocz() function and use it in Babel

Toke Høiland-Jørgensen toke at toke.dk
Tue Nov 24 11:24:36 CET 2020


Ondrej Zajicek <santiago at crfreenet.org> writes:

> 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.

Right, cool, LGTM :)

-Toke



More information about the Bird-users mailing list