X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvlib%2Fpunt_node.c;h=de72104605757f313c0bba33bdb2e590dc643a1f;hb=1adc7e78ad3eb7e800d0ce3ace56f53ab7aebffe;hp=e341e4007cc62ce513215fe8f926d2a67d945717;hpb=e759bb543c38a682dc31492a3a0a58669a811538;p=vpp.git diff --git a/src/vlib/punt_node.c b/src/vlib/punt_node.c index e341e4007cc..de721046057 100644 --- a/src/vlib/punt_node.c +++ b/src/vlib/punt_node.c @@ -120,11 +120,16 @@ punt_replicate (vlib_main_t * vm, * so there's no need to check if the to_next frame * is full */ } - *n_dispatched = *n_dispatched + n_clones0; + *n_dispatched = *n_dispatched + n_cloned0; /* The original buffer is the first clone */ next0 = punt_dp_db[pr0][0]; - *to_next[0] = bi0; + /* + * Note: the original buffer is enqueued in punt_dispatch_node. + * Don't do it here. + * + * *to_next[0] = bi0; + */ return next0; }