I observe crash in vpp-2005 when IPv6 link local packet is received with the below BT.
#0 0x00002b51396a8387 in raise () from /lib64/libc.so.6 #1 0x00002b51396a9a78 in abort () from /lib64/libc.so.6 #2 0x000056126df9017e in os_exit (code=code@entry=1) at vpp_2005/vpp_2005/src/vpp/vnet/main.c:390 #3 0x00002b5137d34fd6 in unix_signal_handler (signum=11, si=<optimized out>, uc=<optimized out>) at vpp_2005/vpp_2005/src/vlib/unix/main.c:187 #4 <signal handler called> #5 0x00002b5137341479 in ip6_ll_fib_get (sw_if_index=1) at vpp_2005/vpp_2005/src/vnet/ip/ip6_ll_table.c:32 #6 0x00002b51376d1904 in ip6_ll_dpo_inline (frame=0x2b5147d3aec0, node=0x2b514a1b06c0, vm=0x2b513f332e40) at vpp_2005/vpp_2005/src/vnet/dpo/ip6_ll_dpo.c:132 #7 ip6_ll_dpo_switch (vm=0x2b513f332e40, node=0x2b514a1b06c0, frame=0x2b5147d3aec0) at vpp_2005/vpp_2005/src/vnet/dpo/ip6_ll_dpo.c:170 #8 0x00002b5137cec99a in dispatch_node (last_time_stamp=<optimized out>, frame=0x2b5147d3aec0, dispatch_state=VLIB_NODE_STATE_POLLING, type=VLIB_NODE_TYPE_INTERNAL, node=0x2b514a1b06c0, vm=0x2b513f332e40) at vpp_2005/vpp_2005/src/vlib/main.c:1331 #9 dispatch_pending_node (vm=vm@entry=0x2b513f332e40, pending_frame_index=pending_frame_index@entry=4, last_time_stamp=<optimized out>) at vpp_2005/vpp_2005/src/vlib/main.c:1510 #10 0x00002b5137ceddc7 in vlib_main_or_worker_loop (is_main=0, vm=0x2b513f332e40) at vpp_2005/vpp_2005/src/vlib/main.c:1998 #11 vlib_worker_loop (vm=0x2b513f332e40) at vpp_2005/vpp_2005/src/vlib/main.c:2133 #12 0x00002b5138a2ecac in clib_calljmp () from /opt/opwv/S11/8.1/tools/vpp/lib/libvppinfra.so.20.05 #13 0x00002b54b58dcc40 in ?? () #14 0x00002b51bbf9a07a in eal_thread_loop (arg=<optimized out>) at vpp_2005/vpp_2005/build-root/build-vpp-native/external/dpdk-20.02/lib/librte_eal/linux/eal/eal_thread.c:153 IP6 is disabled on the interface. For some frames which I am able to trace 13:50:39:777248: dpdk-input device_7/0/0 rx queue 0 buffer 0x1a65c78: current data 0, length 114, buffer-pool 0, ref-count 1, totlen-nifb 0, trace handle 0x1000000 ext-hdr-valid l4-cksum-computed l4-cksum-correct PKT MBUF: port 0, nb_segs 1, pkt_len 114 buf_len 2176, data_len 114, ol_flags 0x0, data_off 128, phys_addr 0xa9971e80 packet_type 0x0 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0 rss 0x0 fdir.hi 0x0 fdir.lo 0x0 IP6: f8:0b:cb:e5:07:37 -> 33:33:00:00:00:66 UDP: fe80::fa0b:cbff:fee5:737 -> ff02::66 tos 0xc0, flow label 0x0, hop limit 255, payload length 60 UDP: 2029 -> 2029 length 60, checksum 0x649c 13:50:39:777252: ethernet-input frame: flags 0x3, hw-if-index 1, sw-if-index 1 IP6: f8:0b:cb:e5:07:37 -> 33:33:00:00:00:66 13:50:39:777254: ip6-input UDP: fe80::fa0b:cbff:fee5:737 -> ff02::66 tos 0xc0, flow label 0x0, hop limit 255, payload length 60 UDP: 2029 -> 2029 length 60, checksum 0x649c 13:50:39:777254: ip6-not-enabled UDP: fe80::fa0b:cbff:fee5:737 -> ff02::66 tos 0xc0, flow label 0x0, hop limit 255, payload length 60 UDP: 2029 -> 2029 length 60, checksum 0x649c 13:50:39:777255: error-drop rx:device_7/0/0 13:50:39:777256: drop dpdk-input: no error >From core dump (gdb) p ip6_ll_table $1 = {ilt_fibs = 0x0, ilt_total_route_counts = 0} (gdb) p vm->buffer_main->buffer_mem_start $5 = *68719476736* (gdb) p bi0 $6 = *33537430* (gdb) p *((vlib_buffer_t *)(68719476736 + (33537430 << 6)) A syntax error in expression, near `'. (gdb) p ((vlib_buffer_t *)(68719476736 + (33537430 << 6))) $7 = (vlib_buffer_t *) 0x107fef6580 (gdb) p *((vlib_buffer_t *)(68719476736 + (33537430 << 6))) $8 = {{cacheline0 = 0x107fef6580 "\016", *current_data = 14* , current_length = 72, flags = 3221618700, flow_id = 0, ref_count = 1 '\001', buffer_pool_index = 0 '\000', error = 439, next_buffer = 0, {current_config_index = 8, punt_reason = 8}, opaque = {1, 4294967295, 917504, 589824, 4294967295, 0, 0, 0, 0, 0}, template_end = 0x107fef65c0 "", cacheline1 = 0x107fef65c0 "", trace_handle = 0, total_length_not_including_first_buffer = 0, opaque2 = {0 <repeats 14 times>}, cacheline2 = 0x107fef6600 "", pre_data = '\000' <repeats 127 times>, data = 0x107fef6680 ""}, as_u8x16 = {{14, 0, 72, 0, 12, 0, 6, 192, 0, 0, 0, 0, 1, 0, 183, 1}, {0, 0, 0, 0, 8, 0, 0, 0, 1, 0, 0, 0, 255, 255, 255, 255}, {0, 0, 14, 0, 0, 0, 9, 0, 255, 255, 255, 255, 0, 0, 0, 0}, {0 <repeats 16 times>}}} (gdb) (gdb) x/16b ((ip6_header_t *)(((vlib_buffer_t *)(68719476736 + 2146395520))->data + 14))->dst_address.as_u8 0x107fef66a6: 0xfe 0x80 0x00 0x00 0x00 0x00 0x00 0x00 0x107fef66ae: 0x02 0x26 0x55 0xff 0xfe 0xe2 0x25 0x65 (gdb) (gdb) x/16b ((ip6_header_t *)(((vlib_buffer_t *)(68719476736 + (33537430 << 6)))->data + 14))->src_address.as_u8 0x107fef6696: 0xfe 0x80 0x00 0x00 0x00 0x00 0x00 0x00 0x107fef669e: 0xfa 0x0b 0xcb 0xff 0xfe 0xe5 0x08 0x27
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#17049): https://lists.fd.io/g/vpp-dev/message/17049 Mute This Topic: https://lists.fd.io/mt/75740846/21656 Mute #vpp: https://lists.fd.io/g/fdio+vpp-dev/mutehashtag/vpp Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-