Skip to content

Conversation

mjstapp
Copy link
Contributor

@mjstapp mjstapp commented Sep 30, 2025

Ensure the clearing info object iteration correctly accounts for the "outer"/RD table and "inner" table nature of the VPN
SAFIs. Depending on the number of prefixes and number of RDs, the existing iteration logic could move past an RD value before completely removing all associated prefixes.
Also improve some debugs, especially in the paths where the bgp dest object is an RD - the generic bgp dest output format handler doesn't understand RDs.

Fixes: #19605

@mjstapp mjstapp added this to the 10.5 milestone Sep 30, 2025
Copy link
Member

@riw777 riw777 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@mjstapp
Copy link
Contributor Author

mjstapp commented Sep 30, 2025

CI:rerun

Copy link
Member

@ton31337 ton31337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ton31337
Copy link
Member

ton31337 commented Oct 2, 2025

@Mergifyio rebase

Mark Stapp added 3 commits October 2, 2025 12:03
Not needed, just remove it.

Signed-off-by: Mark Stapp <[email protected]>
Remove a duplicated prototype - only need the one...

Signed-off-by: Mark Stapp <[email protected]>
Ensure the clearing info object iteration correctly accounts
for the "outer"/RD table and "inner" table nature of the VPN
SAFIs. Improve some debugs, especially in the paths where
the bgp dest object is an RD - the generic dest output
format handler doesn't understand RDs.

Signed-off-by: Mark Stapp <[email protected]>
Copy link

mergify bot commented Oct 2, 2025

rebase

✅ Branch has been successfully rebased

@ton31337 ton31337 merged commit 1a09337 into FRRouting:master Oct 3, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bgp clear batch (PR #18447) unreliably removes evpn routes
3 participants