acl-plugin: multicore: CSIT c100k 2-core stateful ACL test does not pass (VPP-912)
[vpp.git] / src / plugins / ioam / ip6 / ioam_cache_node.c
index 6c8a038..dd27e12 100644 (file)
@@ -67,8 +67,6 @@ format_cache_trace (u8 * s, va_list * args)
   return s;
 }
 
-vlib_node_registration_t ioam_cache_node;
-
 #define foreach_cache_error \
 _(RECORDED, "ip6 iOAM headers cached")
 
@@ -357,7 +355,6 @@ ip6_add_from_cache_hbh_node_fn (vlib_main_t * vm,
          clib_memcpy (&srh0->segments[1],
                       (u8 *) hbh0 + entry->my_address_offset,
                       sizeof (ip6_address_t));
-         srh0->segments_left--;
          ioam_cache_entry_free (entry);
 
          /* Patch the protocol chain, insert the h-b-h (type 0) header */