Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: bgpd: use new imsg API in bgpd.c and kroute.c
To:
tech@openbsd.org
Date:
Mon, 8 Jan 2024 18:34:46 +0100

Download raw body.

Thread
On Mon, Jan 08, 2024 at 05:52:51PM +0100, Claudio Jeker wrote:
> This is another bit of changes to introduce the new ibuf API in bgpd.
> 
> The conversion of bgpd.c and kroute.c (the code used in the parent) is
> simple and so the conversion is simple. The dispatch_imsg() becomes less
> error prone since imsg.data is not passed around anymore.

Straightforward enough. I wonder if the "wrong imsg len" warnings should
be a bit more explicit. But that can be done separately or when we need
to.

ok tb