diff options
author | Maria Matejka <mq@ucw.cz> | 2023-05-07 17:30:33 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-05-09 10:33:23 +0200 |
commit | 318ac8720fcf5ab14ef794d36947870abb7d85f9 (patch) | |
tree | 777283bf323801c75b8d237096ab6d6634797614 /proto/bgp | |
parent | cb51ff1fbb83c15fece1f6c4fa3e538dc137d186 (diff) |
OLocks in BGP must be freed early
Diffstat (limited to 'proto/bgp')
-rw-r--r-- | proto/bgp/bgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c index f4d80e8d..9d81b85b 100644 --- a/proto/bgp/bgp.c +++ b/proto/bgp/bgp.c @@ -1742,7 +1742,7 @@ 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_fragile); lock->addr = p->remote_ip; lock->port = p->cf->remote_port; lock->iface = p->cf->iface; |