summaryrefslogtreecommitdiffstats
path: root/ldpd/lde.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-01-15 16:04:24 +0100
committerRenato Westphal <renato@opensourcerouting.org>2021-01-15 21:44:46 +0100
commit1fd7ae7268f6aeb8c52b7d470c98a8b3fc41765e (patch)
tree45e84001c7bb4f33cdb041df6be72b8be14886cd /ldpd/lde.h
parentMerge pull request #7870 from donaldsharp/pytest_marking (diff)
downloadfrr-1fd7ae7268f6aeb8c52b7d470c98a8b3fc41765e.tar.xz
frr-1fd7ae7268f6aeb8c52b7d470c98a8b3fc41765e.zip
ldpd: fix sporadic failures in the ldp-topo1 topotest
Commit 220e848cc5 introduced an optimization that would prevent ldpd from sending redundant label mappings when it receives notifications from zebra about routes that didn't effectively change (such notifications can happen under certain circumstances). The problem is that that commit didn't take into account the metric of the received routes, so it would dismiss a notification of a route with a better metric taking the place of another route in the RIB, preventing the newly selected route from receiving the label mappings it needs. Revert 220e848cc5 temporarily to fix sporadic failures in the CI system until we have a better solution. Debugged-by: Lynne Morrison lynne@voltanet.io Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/lde.h')
-rw-r--r--ldpd/lde.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ldpd/lde.h b/ldpd/lde.h
index 28468931e..e09be01ec 100644
--- a/ldpd/lde.h
+++ b/ldpd/lde.h
@@ -129,9 +129,7 @@ struct fec_node {
uint32_t pw_remote_status;
void *data; /* fec specific data */
- uint8_t flags;
};
-#define F_FEC_NHS_CHANGED 0x01
#define CHUNK_SIZE 64
struct label_chunk {