aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/strategy.c
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-11-22 13:09:58 +0000
committerGerrit Code Review <gerrit@fd.io>2019-11-22 13:09:58 +0000
commit843fba473ff35d026a7c4d39aa269b06c55e1f91 (patch)
tree5748e42bc923d85cd15114409d2719a976d0106e /hicn-plugin/src/strategy.c
parent4d593c09d9cc1496788f7953de25832193064103 (diff)
parent62f7b46d4c49d6e5bfb5b3b537bfcaf6503e7bac (diff)
Merge "[HICN-405] Added application face delete"
Diffstat (limited to 'hicn-plugin/src/strategy.c')
-rw-r--r--hicn-plugin/src/strategy.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hicn-plugin/src/strategy.c b/hicn-plugin/src/strategy.c
index d07045a72..62c2ddc8b 100644
--- a/hicn-plugin/src/strategy.c
+++ b/hicn-plugin/src/strategy.c
@@ -102,7 +102,7 @@ hicn_new_interest (hicn_strategy_runtime_t * rt, vlib_buffer_t * b0,
hicn_face_db_add_face_dpo (&hicnb0->face_dpo_id, &(pitp->u.pit.faces));
/* Remove lock on the dpo stored in the vlib_buffer */
- dpo_unlock (&hicnb0->face_dpo_id);
+ //dpo_unlock (&hicnb0->face_dpo_id);
*next = outface->dpoi_next_node;
@@ -209,9 +209,8 @@ hicn_forward_interest_fn (vlib_main_t * vm,
*/
if (PREDICT_TRUE
(ret == HICN_ERROR_NONE && HICN_IS_NAMEHASH_CACHED (b0)
- && strategy->hicn_select_next_hop (vnet_buffer (b0)->
- ip.adj_index[VLIB_TX],
- &nh_idx,
+ && strategy->hicn_select_next_hop (vnet_buffer (b0)->ip.
+ adj_index[VLIB_TX], &nh_idx,
&outface) ==
HICN_ERROR_NONE))
{