diff options
| author | Russ White <russ@riw.us> | 2019-02-05 11:06:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 11:06:42 -0500 |
| commit | 5dd91bc84f85185f834cbd46dcaaa7b7178ab6fc (patch) | |
| tree | c15f8441977a747d12a8966595ff0df898719079 | |
| parent | f2445bf70d16796d88a0af6202a6c0bd4086988f (diff) | |
| parent | 46a4e3455b9b1b9d48aaf8983f43867d0ad27080 (diff) | |
Merge pull request #3733 from donaldsharp/meta_queue_nht_game_over_man_game_over
zebra: NHT was being run at least 2 times and missreporting data
| -rw-r--r-- | zebra/zebra_rib.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 995cbf9d1c..73e4b981b5 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2152,14 +2152,6 @@ static void do_nht_processing(void) } } -/* - * All meta queues have been processed. Trigger next-hop evaluation. - */ -static void meta_queue_process_complete(struct work_queue *dummy) -{ - do_nht_processing(); -} - /* Dispatch the meta queue by picking, processing and unlocking the next RN from * a non-empty sub-queue with lowest priority. wq is equal to zebra->ribq and * data @@ -2333,7 +2325,7 @@ static void rib_queue_init(void) /* fill in the work queue spec */ zrouter.ribq->spec.workfunc = &meta_queue_process; zrouter.ribq->spec.errorfunc = NULL; - zrouter.ribq->spec.completion_func = &meta_queue_process_complete; + zrouter.ribq->spec.completion_func = NULL; /* XXX: TODO: These should be runtime configurable via vty */ zrouter.ribq->spec.max_retries = 3; zrouter.ribq->spec.hold = ZEBRA_RIB_PROCESS_HOLD_TIME; |
