From d7ad2a78bb85224d0baa91a415f92e28e10a43e3 Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Fri, 22 Sep 2017 11:04:50 +0200 Subject: Fixed speculative enqueue for buffer cloning Change-Id: I163b923ff01ba1d347777e4937d4fa6218350434 Signed-off-by: Alberto Compagno --- cicn-plugin/cicn/node.c | 8 -------- 1 file changed, 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 = -- cgit 1.2.3-korg