Hi guys,

I'm testing ikev2. In the function 'ikev2_rekey_child_sa_internal',:
bi0 = ikev2_get_new_ike_header_buff (vm, &ike0);
//The following is the debug code
 vlib_buffer_t *b0;
 b0 = vlib_get_buffer (vm, bi0);
 
   (gdb) p *(vnet_buffer_opaque_t *)(b0->opaque)
$1 = {
  sw_if_index = {2, 4294967295},    //The rest of the value is correct
  l2_hdr_offset = 0, 
  l3_hdr_offset = 0, 
  l4_hdr_offset = 0, 

  
  The wrong may cause an error in 'ip4_lookup_inline '. 
  BTW, the problem doesn't happen every time.
  
Thanks,
Xyxue


_______________________________________________
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to