aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/strategies/dpo_rr.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2020-01-21 18:04:48 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2020-01-21 18:04:48 +0100
commit731a7efa3fa58d0fee89c93d613e11d8b4108c89 (patch)
tree3b2859b7be2b526a45aa4010e7e4b4aa423afedd /hicn-plugin/src/strategies/dpo_rr.c
parentbf366088b56e7f2e793e7026d9c655e26fe4a67a (diff)
[HICN-485] Fixed entry deletion when the last nh is removed
Change-Id: I1a3353989f934f135b4226a6af68a09dd8749563 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/strategies/dpo_rr.c')
-rw-r--r--hicn-plugin/src/strategies/dpo_rr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hicn-plugin/src/strategies/dpo_rr.c b/hicn-plugin/src/strategies/dpo_rr.c
index 4cddd513c..dfdc83ff4 100644
--- a/hicn-plugin/src/strategies/dpo_rr.c
+++ b/hicn-plugin/src/strategies/dpo_rr.c
@@ -279,12 +279,6 @@ hicn_strategy_rr_ctx_del_nh (hicn_face_id_t face_id, index_t dpo_idx,
}
}
- if (0 == hicn_strategy_rr_ctx->default_ctx.entry_count)
- {
- fib_table_entry_special_remove (HICN_FIB_TABLE, fib_pfx,
- FIB_SOURCE_PLUGIN_HI);
- }
-
return ret;
}