summaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/pcs.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-06-05 17:50:18 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-06-05 17:50:18 +0200
commit8129b8ce13febec6730fa48abbe6d3fcae3bc27f (patch)
tree8ff6dcf9c86ed8bae292682c541e9ba48a07895d /hicn-plugin/src/pcs.h
parent088daca13076803f9e6e3a91f7b76bfc2aff6a33 (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>
Diffstat (limited to 'hicn-plugin/src/pcs.h')
-rw-r--r--hicn-plugin/src/pcs.h2
1 files changed, 0 insertions, 2 deletions
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;