bgpd: fix premature deletion of already-stale routes during GR clearing - #20768
Conversation
9094a1b to
76a130c
Compare
Greptile OverviewGreptile SummaryFixed premature deletion of already-stale BGP routes during Graceful Restart (GR) clearing by removing Key changes:
Impact: Confidence Score: 5/5
Important Files Changed
|
6582868 to
b340234
Compare
|
ci:rerun |
1 similar comment
|
ci:rerun |
Add a topotest which test that already stale paths are preserved during bgp gr. Ticket: RM#4856402 Signed-off-by: Mitesh Kanjariya <mkanjariya@nvidia.com>
When a peer goes down with GR enabled, routes already marked BGP_PATH_STALE were incorrectly deleted instead of being preserved for the current GR cycle. Remove the BGP_PATH_STALE check from both bgp_clear_route_node() and clearing_clear_one_pi() so that stale routes are re-marked rather than removed. Stale route cleanup remains handled by bgp_clear_stale_route() on timer expiry. Ticket: RM#4866286 Signed-off-by: Mitesh Kanjariya <mkanjariya@nvidia.com>
b340234 to
968ccc4
Compare
|
@Mergifyio backport dev/10.6 stable/10.5 stable/10.4 |
β Backports have been createdDetails
Cherry-pick of 968ccc4 has failed: 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
Cherry-pick of 968ccc4 has failed: 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 |
bgpd: fix premature deletion of already-stale routes during GR clearing (backport #20768)
Signed-off-by: Mitesh Kanjariyamkanjariya@nvidia.com