diff options
| author | vivek <vivek@cumulusnetworks.com> | 2020-12-02 20:04:19 -0800 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-16 19:46:36 +0000 |
| commit | 38efc4b35e43fa2b6ad2a6d4bb41f3fcb3a5d559 (patch) | |
| tree | f62342a53a03700e7059ac06082dda7dce0ef9ad /lib/ldp_sync.c | |
| parent | 15135ce2b71182d41378fc9f1336599b1b415549 (diff) | |
bgpd: Fix deterministic-med check for stale paths
When performing deterministic MED processing, ensure that the peer
status is not checked when we encounter a stale path. Otherwise, this
path will be skipped from the DMED consideration leading to it potentially
not being installed.
Test scenario: Consider a prefix with 2 (multi)paths. The peer that
announces the path with the winning DMED undergoes a graceful-restart.
Before it comes back up, the other path goes away. Prior to the fix, a
third router that receives both these paths would have ended up not
having any path installed to the prefix after the above events.
Signed-off-by: Vivek Venkatraman <vivek@nvidia.com>
For internal use:
Ticket: CM-32032
Testing done: Multiple manual testing
(cherry picked from commit de692a4ebe0b8ea8e191d8ac1f3b41a386edd577)
Diffstat (limited to 'lib/ldp_sync.c')
0 files changed, 0 insertions, 0 deletions
