]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: Allow multiple EBGP neighbors with the same peer.
authorAlexander Zubkov <green@qrator.net>
Wed, 7 Feb 2024 18:11:10 +0000 (19:11 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 7 Feb 2024 18:11:10 +0000 (19:11 +0100)
commit574d7eb241a60622b0573ab1460cb23d968ba1cc
treeb17bc117bad5762d520ae91d003c44137918368c
parent0b52f7c01f55707b25eebd0a66c48eafe06fe455
BGP: Allow multiple EBGP neighbors with the same peer.

We can distinguish BGP sessions if at least one side uses a different IP
address. Extend olock mechanism to handle local IP as a part of key, with
optional wildcard, so BGP sessions could local IP in the olock and not
block themselves.
lib/ip.h
nest/locks.c
nest/locks.h
proto/bgp/bgp.c