0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-10-18 09:58:43 +00:00

fixup! BGP runs TX as a deferred routine

This commit is contained in:
Maria Matejka 2024-06-27 09:48:07 +02:00
parent 1e21fdb93e
commit efc64ccd1e

View 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)) if (was_active || (conn->sk->tpos != conn->sk->tbuf))
return; return;
else if (type == PKT_KEEPALIVE) else if ((type == PKT_KEEPALIVE) || (this_birdloop != p->p.loop))
bgp_fire_tx(conn); bgp_fire_tx(conn);
else else
{ {