CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected] 2025/11/13 08:52:47

Modified files:
        usr.sbin/bgpd  : rde_community.c 

Log message:
In insert_community() use reallocarray + memset instead of recallocarray

recallocarray does a lot more than just providing zero-ed memory. It also
uses freezero() / explicit_bzero to clear out all old memory.
insert_community() is in the hot path for BGP filters and so this saves
some work.

OK tb@

Reply via email to