diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-06-05 17:50:18 +0200 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-06-05 17:50:18 +0200 |
commit | 8129b8ce13febec6730fa48abbe6d3fcae3bc27f (patch) | |
tree | 8ff6dcf9c86ed8bae292682c541e9ba48a07895d | |
parent | 088daca13076803f9e6e3a91f7b76bfc2aff6a33 (diff) |
[HICN-211] Missing parentesis on vlib_validate_buffer_enqueue_x2 was causing a priority problem between * and []
Change-Id: I423e58bc91db9dc16a75bdc8065a2740d0160c1d
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
-rw-r--r-- | hicn-plugin/src/data_fwd_node.c | 2 | ||||
-rw-r--r-- | hicn-plugin/src/pcs.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/hicn-plugin/src/data_fwd_node.c b/hicn-plugin/src/data_fwd_node.c index fe4155958..53308a49d 100644 --- a/hicn-plugin/src/data_fwd_node.c +++ b/hicn-plugin/src/data_fwd_node.c @@ -485,7 +485,7 @@ hicn_satisfy_faces (vlib_main_t * vm, u32 bi0, sizeof (t->packet_data)); } vlib_validate_buffer_enqueue_x2 (vm, node, *next_index, - *to_next, *n_left_to_next, + (*to_next), *n_left_to_next, hi0, hi1, next0, next1); } diff --git a/hicn-plugin/src/pcs.h b/hicn-plugin/src/pcs.h index 491476221..28f9c3c37 100644 --- a/hicn-plugin/src/pcs.h +++ b/hicn-plugin/src/pcs.h @@ -356,8 +356,6 @@ hicn_pcs_delete_internal (hicn_pit_cs_t * pitcs, if (hash_entry->he_flags & HICN_HASH_ENTRY_FLAG_CS_ENTRY) { pitcs->pcs_cs_dealloc++; - vlib_buffer_t *b0 = vlib_get_buffer (vm, pcs->u.cs.cs_pkt_buf); - ASSERT(b0->ref_count == 1); /* Free any associated packet buffer */ vlib_buffer_free_one (vm, pcs->u.cs.cs_pkt_buf); pcs->u.cs.cs_pkt_buf = ~0; |