]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
fixup! BGP runs TX as a deferred routine
authorMaria Matejka <mq@ucw.cz>
Thu, 27 Jun 2024 07:48:07 +0000 (09:48 +0200)
committerMaria Matejka <mq@ucw.cz>
Thu, 27 Jun 2024 07:48:07 +0000 (09:48 +0200)
proto/bgp/packets.c

index 4f4f0c4f70d8d12c346afc313e7db7ccbfc2adad..77a4646e07ec248e4836fdd751d1f4d0a4e0e7ac 100644 (file)
@@ -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
   {