From efc64ccd1e654f6b58c24a8ba9121a7ab42c20ef Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Thu, 27 Jun 2024 09:48:07 +0200 Subject: [PATCH] fixup! BGP runs TX as a deferred routine --- proto/bgp/packets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c index 4f4f0c4f..77a4646e 100644 --- a/proto/bgp/packets.c +++ b/proto/bgp/packets.c @@ -3185,7 +3185,7 @@ bgp_schedule_packet(struct bgp_conn *conn, struct bgp_channel *c, int type) if (was_active || (conn->sk->tpos != conn->sk->tbuf)) return; - else if (type == PKT_KEEPALIVE) + else if ((type == PKT_KEEPALIVE) || (this_birdloop != p->p.loop)) bgp_fire_tx(conn); else {