Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: bgpd: more RDE stats: aspa, ibufq and rib entry queue
To:
tech@openbsd.org
Date:
Mon, 2 Mar 2026 11:49:37 +0100

Download raw body.

Thread
On Mon, Mar 02, 2026 at 11:10:18AM +0100, Claudio Jeker wrote:
> This adds a few more stat values to the RDE.
> 
> This includes stats for the ASPA set and stats for the various queues
> in the RDE.  The queue stats are tracked per-peer and globally.
> 
> This also includes some minor adjustemnts in the peer up/down handling.
> It removes a copied version of peer_down() in peer_up() with a peer_down()

Contrary to the inlined version peer_down() also sets peer->remote_bgpid = 0,
which is fine since that's overwritten with sup->remote_bgpid a bit later
anyway.

> call and it ensures that the RIB entry queue is not leaked in the
> peer_delete() case.

This and the peer_down() inline feel like separate commits but I don't
insist.

ok tb