]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Merge commit '574d7eb241a60622b0573ab1460cb23d968ba1cc' into thread-next
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 28 Mar 2024 14:00:40 +0000 (15:00 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 28 Mar 2024 14:00:40 +0000 (15:00 +0100)
1  2 
nest/locks.c
nest/locks.h
proto/bgp/bgp.c
proto/bgp/packets.c

diff --cc nest/locks.c
Simple merge
diff --cc nest/locks.h
Simple merge
diff --cc proto/bgp/bgp.c
index 1c9844387443a1c2b24100499a4fd04b5f4d46ff,e97b45e6fea3b6f2c23a15d360630ec24eca4f40..1c9c38590872831367e85fb758563ba80df72c07
@@@ -1819,8 -1614,9 +1819,9 @@@ bgp_start(struct proto *P
     * so that we are the only instance attempting to talk with that neighbor.
     */
    struct object_lock *lock;
 -  lock = p->lock = olock_new(P->pool);
 +  lock = p->lock = olock_new(P->pool_inloop);
    lock->addr = p->remote_ip;
+   lock->addr_local = p->cf->local_ip;
    lock->port = p->cf->remote_port;
    lock->iface = p->cf->iface;
    lock->vrf = p->cf->iface ? NULL : p->p.vrf;
Simple merge