Remove static route entries in FIB for nexthops that become unreachable - #4833
Open
gizmoguy wants to merge 2 commits into
Open
Remove static route entries in FIB for nexthops that become unreachable#4833gizmoguy wants to merge 2 commits into
gizmoguy wants to merge 2 commits into
Conversation
gizmoguy
force-pushed
the
del-dead-nexthop-static-routes
branch
3 times, most recently
from
July 31, 2026 02:20
16acce2 to
601f9e7
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4833 +/- ##
==========================================
+ Coverage 91.42% 91.44% +0.02%
==========================================
Files 46 46
Lines 8923 8925 +2
==========================================
+ Hits 8157 8161 +4
+ Misses 766 764 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
gizmoguy
force-pushed
the
del-dead-nexthop-static-routes
branch
3 times, most recently
from
July 31, 2026 02:47
f144444 to
73706dd
Compare
gizmoguy
force-pushed
the
del-dead-nexthop-static-routes
branch
from
July 31, 2026 03:03
73706dd to
18eb45e
Compare
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.
Currently when a gateway becomes unreachable that is a nexthop for a static route, only the host route is removed from the FIB, not the static routes.
This patch also expires the static routes to prevent unusable routes from existing in the FIB.
The test case for this patch requires the fix from #4827 to pass