]> git.ipfire.org Git - thirdparty/bird.git/commit
BMP: Improve peer_down handling
authorOndrej Zajicek <santiago@crfreenet.org>
Mon, 21 Aug 2023 23:24:21 +0000 (01:24 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Mon, 21 Aug 2023 23:26:06 +0000 (01:26 +0200)
commit4558adabfbbe3696156d20767168010d6238f434
tree43f17ffb951f75cb3dc70401b98a422dada87b8b
parent52641e086675832e9f43f86237b0cddbd5ec551e
BMP: Improve peer_down handling

Move all bmp_peer_down() calls to one place and make it synchronous with
BGP session down, ensuring that BMP receives peer_down before route
withdraws from flushing.

Also refactor bmp_peer_down_() message generating code.
proto/bgp/bgp.c
proto/bgp/packets.c
proto/bmp/bmp.c
proto/bmp/bmp.h