X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip_path_mtu_node.c;h=b3681b923c877a658989c4340f3bea4da0bc4cd8;hb=aa9903cabfd44ed9c88d1f624a39096ff7fee37f;hp=33be4bbcae9ba78a40086809fbe9b33fb64ed1df;hpb=43289951b23e491510baf1cedfad884321e83c30;p=vpp.git diff --git a/src/vnet/ip/ip_path_mtu_node.c b/src/vnet/ip/ip_path_mtu_node.c index 33be4bbcae9..b3681b923c8 100644 --- a/src/vnet/ip/ip_path_mtu_node.c +++ b/src/vnet/ip/ip_path_mtu_node.c @@ -49,7 +49,6 @@ ip_pmtu_dpo_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip_address_family_t af) { u32 n_left_from, *from, next_index, *to_next, n_left_to_next; - u32 frag_sent = 0, small_packets = 0; from = vlib_frame_vector_args (frame); n_left_from = frame->n_vectors; @@ -114,8 +113,6 @@ ip_pmtu_dpo_inline (vlib_main_t *vm, vlib_node_runtime_t *node, if (error0 == IP_FRAG_ERROR_NONE) { /* Free original buffer chain */ - frag_sent += vec_len (buffer); - small_packets += (vec_len (buffer) == 1); vlib_buffer_free_one (vm, pi0); /* Free original packet */ } else