Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: Clear stale routes with multiple paths (backport #17376) #17382

Closed
wants to merge 4 commits into from

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 7, 2024

Closes #17372


This is an automatic backport of pull request #17376 done by Mergify.

We iterated over all bgp_path_info's, but once we remove the path, we didn't
check for other paths under the same bgp_dest.

Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit 7de464b)
Without this patch we set only the first path for the route (if multiple exist)
as LLGR stale and stop doing that for the rest of the paths, which is wrong.

Fixes: 1479ed2 ("bgpd: Implement LLGR helper mode")

Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit 895d586)

# Conflicts:
#	bgpd/bgp_fsm.c
Signed-off-by: Donatas Abraitis <[email protected]>
(cherry picked from commit 444bdc4)
Copy link
Author

mergify bot commented Nov 7, 2024

Cherry-pick of 895d586 has failed:

On branch mergify/bp/stable/9.0/pr-17376
Your branch is ahead of 'origin/stable/9.0' by 1 commit.
  (use "git push" to publish your local commits)

You are currently cherry-picking commit 895d586a5f.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   bgpd/bgp_fsm.c

no changes added to commit (use "git add" and/or "git commit -a")

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot added the conflicts label Nov 7, 2024
@frrbot frrbot bot added bgp bugfix tests Topotests, make check, etc labels Nov 7, 2024
@donaldsharp
Copy link
Member

failed to backport to 9.0 closing

@donaldsharp donaldsharp closed this Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants