0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00
bird/proto
Maria Matejka 6779e5da69 BGP: fix locking order error on dynamic protocol spawn
We missed that the protocol spawner violates the prescribed
locking order. When the rtable level is locked, no new protocol can be
started, thus we need to:

* create the protocol from a clean mainloop context
* in protocol start hook, take the socket

Testsuite: cf-bgp-autopeer
Fixes: #136

Thanks to Job Snijders <job@fastly.com> for reporting:
https://trubka.network.cz/pipermail/bird-users/2024-December/017980.html
2024-12-20 11:40:10 +01:00
..
aggregator Proto: The active flag converted to actual fifth protocol state 2024-11-18 22:21:12 +01:00
babel Merge commit 'd85fa48e' into thread-next 2024-12-13 15:58:10 +01:00
bfd Merge commit 'd85fa48e' into thread-next 2024-12-13 15:58:10 +01:00
bgp BGP: fix locking order error on dynamic protocol spawn 2024-12-20 11:40:10 +01:00
bmp Merge commit 'd85fa48e' into thread-next 2024-12-13 15:58:10 +01:00
l3vpn Real almost-lockless feeds and more pull-like exports 2024-06-04 10:11:36 +02:00
mrt CLI: show threads all crash fixed 2024-12-12 15:00:26 +01:00
ospf Merge commit 'd85fa48e' into thread-next 2024-12-13 15:58:10 +01:00
pipe Proto: The active flag converted to actual fifth protocol state 2024-11-18 22:21:12 +01:00
radv Proto: The active flag converted to actual fifth protocol state 2024-11-18 22:21:12 +01:00
rip Merge commit 'd85fa48e' into thread-next 2024-12-13 15:58:10 +01:00
rpki Merge commit 'ef456118' into thread-next 2024-12-13 16:01:19 +01:00
static Merge commit '1dbee120' into thread-next 2024-12-13 20:56:30 +01:00
Doc BMP protocol support 2023-04-16 20:05:15 +02:00