summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2020-05-25 14:17:12 -0700
committervivek <vivek@cumulusnetworks.com>2020-05-25 14:17:12 -0700
commit0139efe0848346c8f8f4281f24f065cdce882504 (patch)
treee4da0f0b57f462271c048d50ef97a1a6752b26b9 /lib/command_py.c
parent34ea39b65a2d6dd48df15d9d8a929c1a6f128122 (diff)
bgpd: During NHT change evaluation, skip inappropriate paths
When there is a NHT change and the paths dependent on that NHT are being evaluated, skip those that are marked for removal or as history. When a route gets withdrawn, its valid flag is cleared and it is flagged for removal; in the case of an EVPN route, it is also unimported from VRFs (L2 and/or L3). bgp_process is then scheduled. Under rare timing conditions, an NHT update for the route's next hop may arrive right after, and if routes flagged for removal are not skipped, they may not only be incorrectly marked as valid but also re-imported in the case of EVPN, which will be a serious error. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions