From: Alberto Compagno Date: Fri, 22 Sep 2017 09:04:50 +0000 (+0200) Subject: Fixed speculative enqueue for buffer cloning X-Git-Tag: Vpp-plugin-v17.07~3 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=d7ad2a78bb85224d0baa91a415f92e28e10a43e3;p=cicn.git Fixed speculative enqueue for buffer cloning Change-Id: I163b923ff01ba1d347777e4937d4fa6218350434 Signed-off-by: Alberto Compagno --- 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 =