> Updated diff below
I have now spent a lot of time on this diff. Let's commit it in after
the upcoming release.
ok tb
> > > - if ((new = reallocarray(comm->communities, newsize,
> > > - sizeof(struct community))) == NULL)
> > > + if ((new = recallocarray(comm->communities, comm->size,
> > > + newsize, sizeof(struct community))) == NULL)
> > >
On Thu, Jun 29, 2023 at 06:25:01PM +0200, Theo Buehler wrote:
> On Tue, Jun 27, 2023 at 12:10:21PM +0200, Claudio Jeker wrote:
> > Sorry this diff is a monster but it kind of turned into a all or nothing
> > situation.
>
> Frankly, it's not that bad.
>
> > For a long time bgpd used a static 4k
On Tue, Jun 27, 2023 at 12:10:21PM +0200, Claudio Jeker wrote:
> Sorry this diff is a monster but it kind of turned into a all or nothing
> situation.
Frankly, it's not that bad.
> For a long time bgpd used a static 4k buffer plus a len argument to build
> updates. The result was ok but was also
Sorry this diff is a monster but it kind of turned into a all or nothing
situation.
For a long time bgpd used a static 4k buffer plus a len argument to build
updates. The result was ok but was also very fragile.
With the new ibuf API all of this can be rewritten and the result is IMO
already a