aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2017-09-22 11:04:50 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2017-09-22 11:04:50 +0200
commitd7ad2a78bb85224d0baa91a415f92e28e10a43e3 (patch)
tree2c2519c42fe3b9f911b7d16b934f25a0b51bbc17
parent1d69f6b89f080e48276c5df6121a47a7534dfb27 (diff)
Fixed speculative enqueue for buffer cloning
Change-Id: I163b923ff01ba1d347777e4937d4fa6218350434 Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
-rw-r--r--cicn-plugin/cicn/node.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/cicn-plugin/cicn/node.c b/cicn-plugin/cicn/node.c
index 17e76773..bd64cbcd 100644
--- a/cicn-plugin/cicn/node.c
+++ b/cicn-plugin/cicn/node.c
@@ -675,14 +675,6 @@ icnfwd_node_fn (vlib_main_t * vm,
vnet_buffer (b0)->sw_if_index[VLIB_TX] = ~0;
- if (i == (clone_count - 1))
- {
- /* Last packet - drop out of the loop, let the
- * transit path finish with 'b0' now
- */
- break;
- }
-
/* Rewrite ip and udp headers */
ip0->src_address.as_u32 =