Skip to content

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Oct 15, 2024

There exists a series of events where a kernel route is learned first( that happens to be exactly what a connected route should be ) and FRR ends up with both a kernel route and a connected route, leaving us in a very strange spot. This code change just mirrors the existing code of if there is a connected route drop the kernel route. Here we just do the reverse, if we have a kernel route already and a connected should be created, remove the kernel and keep the connected.


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

There exists a series of events where a kernel route is learned
first( that happens to be exactly what a connected route should be )
and FRR ends up with both a kernel route and a connected route,
leaving us in a very strange spot.  This code change just mirrors
the existing code of if there is a connected route drop the kernel
route.  Here we just do the reverse, if we have a kernel route
already and a connected should be created, remove the kernel and
keep the connected.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit 74e2519)
@frrbot frrbot bot added the zebra label Oct 15, 2024
@donaldsharp donaldsharp merged commit ee96c3c into dev/10.2 Oct 15, 2024
14 checks passed
@Jafaral Jafaral deleted the mergify/bp/dev/10.2/pr-17088 branch March 10, 2025 03:41
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.

1 participant