bgpd: Ignore transitiveness flag when checking type for link bandwidth (backport #20607)#20750
Merged
donaldsharp merged 2 commits intostable/10.5from Feb 10, 2026
Merged
Conversation
…h extcomm If the community comes as non-transitive, we incorrectly take it and never consider using for weighted load balancing. draft-ietf-idr-link-bandwidth-24 defines: If a BGP speaker receives a route with more than one Link Bandwidth Extended Communities and uses the route to compute weighted load balancing, it SHOULD use the extended community with the lowest bandwidth value (including zero), ignoring the transitivity. Implementations MAY provide configuration to change the above preference. The ordering is already done at the ingestion ecommunity_parse() when we receive a new community/value. So we always take the lowest one. Fixes: 60eff2e ("bgpd: Handle non-transitive opaque extended communities also for eBGP peers") Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> (cherry picked from commit f14b771)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> (cherry picked from commit f1483e6)
|
Target branch is not in the allowed branches list. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automatic backport of pull request #20607 done by [Mergify](https://mergify.com).