]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: copy source vrf ASN to leaked route and block loops
authorDon Slice <dslice@nvidia.com>
Wed, 9 Jun 2021 20:50:20 +0000 (16:50 -0400)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 18 Sep 2024 15:03:10 +0000 (18:03 +0300)
commitd4426b62d221f4e15810dbe578de05df8991c991
tree21945c280fefaebd37857658caae4cfa323c289e
parent091abc6b28ddba893d29d90d9e5e816fadb7d188
bgpd: copy source vrf ASN to leaked route and block loops

When we leak routes and are using a different ASN in the
source vrf from the target vrf, it's possible we could
create loops because of an incomplete as-path (missing
the source vrf ASN). This fix adds the source vrf ASN and
stops the importing of a BGP prefix that has the target
ASN in the as-path in the source vrf.

Signed-off-by: Don Slice <dslice@nvidia.com>
bgpd/bgp_mplsvpn.c