make -C tools/testing/selftests TARGETS=net TEST_PROGS=test_vxlan_under_vrrf.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-3/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-3/tools/testing/selftests/net' TAP version 13 1..1 # overriding timeout to 7200 # selftests: net: test_vxlan_under_vrf.sh [ 899.411396][ T5357] veth0: renamed from veth-hv-1 [ 900.807098][ T5371] br0: port 1(vxlan0) entered blocking state [ 900.807538][ T5371] br0: port 1(vxlan0) entered disabled state [ 900.807890][ T5371] vxlan0: entered allmulticast mode [ 900.809392][ T5371] vxlan0: entered promiscuous mode [ 900.974252][ T5372] br0: port 1(vxlan0) entered blocking state [ 900.974681][ T5372] br0: port 1(vxlan0) entered forwarding state [ 901.307561][ T5374] veth0: renamed from veth-hv-2 [ 902.626392][ T5382] br0: port 1(vxlan0) entered blocking state [ 902.626741][ T5382] br0: port 1(vxlan0) entered disabled state [ 902.627099][ T5382] vxlan0: entered allmulticast mode [ 902.629121][ T5382] vxlan0: entered promiscuous mode [ 902.796103][ T5383] br0: port 1(vxlan0) entered blocking state [ 902.796480][ T5383] br0: port 1(vxlan0) entered forwarding state # Checking HV connectivity [ OK ] [ 903.612199][ T5389] br0: port 2(veth-tap) entered blocking state [ 903.612573][ T5389] br0: port 2(veth-tap) entered disabled state [ 903.612952][ T5389] veth-tap: entered allmulticast mode [ 903.614506][ T5389] veth-tap: entered promiscuous mode [ 904.465825][ T1971] br0: port 2(veth-tap) entered blocking state [ 904.466282][ T1971] br0: port 2(veth-tap) entered forwarding state [ 904.471195][ C3] ------------[ cut here ]------------ [ 904.471536][ C3] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9 [ 904.471914][ C3] load of value 107 is not a valid value for type '_Bool' [ 904.472307][ C3] CPU: 3 PID: 3618 Comm: kworker/3:0 Not tainted 6.8.0-rc4-virtme #1 [ 904.472720][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 904.473332][ C3] Workqueue: mld mld_ifc_work [ 904.473580][ C3] Call Trace: [ 904.473754][ C3] [ 904.473901][ C3] dump_stack_lvl+0x92/0xb0 [ 904.474136][ C3] __ubsan_handle_load_invalid_value+0xa7/0xe0 [ 904.474487][ C3] br_forward_finish.cold+0xf/0x3c [ 904.474750][ C3] deliver_clone+0x52/0x90 [ 904.474978][ C3] br_handle_frame_finish+0xbdd/0x1ce0 [ 904.475304][ C3] ? __ DETECTED CRASH, lowering timeout pfx_br_handle_frame_finish+0x10/0x10 [ 904.475700][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x151/0x370 [ 904.476037][ C3] ? __debug_check_no_obj_freed+0x253/0x520 [ 904.476347][ C3] ? hlock_class+0x4e/0x130 [ 904.476580][ C3] ? mark_lock+0x38/0x3e0 [ 904.476810][ C3] br_handle_frame+0x60d/0xd60 [ 904.477057][ C3] ? __pfx_br_handle_frame+0x10/0x10 [ 904.477336][ C3] __netif_receive_skb_core.constprop.0+0x783/0x2dc0 [ 904.477676][ C3] ? mark_lock+0x38/0x3e0 [ 904.477903][ C3] ? __lock_acquire+0xb67/0x1610 [ 904.478156][ C3] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10 [ 904.478539][ C3] ? lock_acquire.part.0+0xe5/0x330 [ 904.478803][ C3] ? process_backlog+0x1ed/0x5e0 [ 904.479057][ C3] __netif_receive_skb_one_core+0xaf/0x1b0 [ 904.479373][ C3] ? __pfx___netif_receive_skb_one_core+0x10/0x10 [ 904.479699][ C3] ? lock_acquire+0x1c1/0x220 [ 904.479935][ C3] ? process_backlog+0x1ed/0x5e0 [ 904.480201][ C3] process_backlog+0xd3/0x5e0 [ 904.480450][ C3] __napi_poll.constprop.0+0xa2/0x460 [ 904.480726][ C3] net_rx_action+0x440/0xb40 [ 904.480972][ C3] ? __pfx_net_rx_action+0x10/0x10 [ 904.481243][ C3] ? lockdep_unlock+0x190/0x230 [ 904.481495][ C3] ? mark_held_locks+0xa5/0xf0 [ 904.481743][ C3] __do_softirq+0x1b9/0x7ff [ 904.481980][ C3] ? __dev_queue_xmit+0x6dd/0x17f0 [ 904.482265][ C3] do_softirq+0x4d/0xa0 [ 904.482476][ C3] [ 904.482628][ C3] [ 904.482778][ C3] __local_bh_enable_ip+0xf6/0x120 [ 904.483036][ C3] ? __dev_queue_xmit+0x6dd/0x17f0 [ 904.483323][ C3] __dev_queue_xmit+0x6f2/0x17f0 [ 904.483579][ C3] ? mark_held_locks+0xa5/0xf0 [ 904.483823][ C3] ? eth_header+0x158/0x1a0 [ 904.484057][ C3] ? __pfx___dev_queue_xmit+0x10/0x10 [ 904.484338][ C3] ? neigh_resolve_output+0x3ec/0x7a0 [ 904.484622][ C3] ip6_finish_output2+0x512/0xf60 [ 904.484886][ C3] ip6_finish_output+0x553/0xdf0 [ 904.485144][ C3] ip6_output+0x1ea/0x760 [ 904.485373][ C3] ? __pfx_ip6_output+0x10/0x10 [ 904.485620][ C3] ? lock_acquire.part.0+0xe5/0x330 [ 904.485885][ C3] ? hlock_class+0x4e/0x130 [ 904.486117][ C3] ? __lock_release+0x40f/0x880 [ 904.486392][ C3] NF_HOOK.constprop.0+0xe2/0x680 [ 904.486649][ C3] ? __pfx_NF_HOOK.constprop.0+0x10/0x10 [ 904.486930][ C3] ? __pfx_xfrm_lookup_with_ifid+0x10/0x10 [ 904.487241][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 904.487572][ C3] ? icmp6_dst_alloc+0x2c0/0x450 [ 904.487822][ C3] ? __local_bh_enable_ip+0xa6/0x120 [ 904.488093][ C3] mld_sendpack+0x62c/0xbc0 [ 904.488339][ C3] ? __pfx_mld_sendpack+0x10/0x10 [ 904.488603][ C3] ? mld_send_cr+0x3a1/0x780 [ 904.488843][ C3] mld_ifc_work+0x36/0x200 [ 904.489072][ C3] process_one_work+0x78c/0x1310 [ 904.489348][ C3] ? hlock_class+0x4e/0x130 [ 904.489580][ C3] ? __pfx_process_one_work+0x10/0x10 [ 904.489859][ C3] ? assign_work+0x16c/0x240 [ 904.490099][ C3] worker_thread+0x73d/0x1010 [ 904.490362][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 904.490700][ C3] ? __pfx_worker_thread+0x10/0x10 [ 904.490962][ C3] ? __pfx_worker_thread+0x10/0x10 [ 904.491238][ C3] kthread+0x28f/0x360 [ 904.491445][ C3] ? __pfx_kthread+0x10/0x10 [ 904.491682][ C3] ret_from_fork+0x31/0x70 [ 904.491906][ C3] ? __pfx_kthread+0x10/0x10 [ 904.492140][ C3] ret_from_fork_asm+0x1b/0x30 [ 904.492400][ C3] [ 904.492582][ C3] ---[ end trace ]--- [ 905.034958][ T5399] br0: port 2(veth-tap) entered blocking state [ 905.035344][ T5399] br0: port 2(veth-tap) entered disabled state [ 905.035711][ T5399] veth-tap: entered allmulticast mode [ 905.037104][ T5399] veth-tap: entered promiscuous mode [ 905.849317][ T1735] br0: port 2(veth-tap) entered blocking state [ 905.849701][ T1735] br0: port 2(veth-tap) entered forwarding state [ 906.121883][ C3] ------------[ cut here ]------------ [ 906.122441][ C3] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9 [ 906.123022][ C3] load of value 107 is not a valid value for type '_Bool' [ 906.123620][ C3] CPU: 3 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc4-virtme #1 [ 906.124234][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 906.125166][ C3] Workqueue: ipv6_addrconf addrconf_dad_work [ 906.125641][ C3] Call Trace: [ 906.125896][ C3] [ 906.126131][ C3] dump_stack_lvl+0x92/0xb0 [ 906.126513][ C3] __ubsan_handle_load_invalid_value+0xa7/0xe0 [ 906.127004][ C3] skb_scrub_packet.cold+0x10/0x15 [ 906.127442][ C3] __dev_forward_skb2+0x332/0x650 [ 906.127855][ C3] veth_xmit+0x245/0x7c0 [ 906.128211][ C3] dev_hard_start_xmit+0x13d/0x570 [ 906.128640][ C3] __dev_queue_xmit+0xf7d/0x17f0 [ 906.129048][ C3] ? mark_held_locks+0xa5/0xf0 [ 906.129427][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x151/0x370 [ 906.129760][ C3] ? __pfx___dev_queue_xmit+0x10/0x10 [ 906.130051][ C3] ip_finish_output2+0x7ef/0x1980 [ 906.130319][ C3] ? mark_lock+0x38/0x3e0 [ 906.130546][ C3] ? __pfx_ip_finish_output2+0x10/0x10 [ 906.130942][ C3] ? __ip_finish_output+0x10f/0x770 [ 906.131337][ C3] ip_output+0x16b/0x4f0 [ 906.131572][ C3] ? __pfx_ip_output+0x10/0x10 [ 906.131918][ C3] ? pskb_expand_head+0x49f/0x1010 [ 906.132279][ C3] ? ip_local_out+0x25/0x3b0 [ 906.132630][ C3] iptunnel_xmit+0x578/0x930 [ 906.132960][ C3] ? vxlan_build_skb.isra.0+0x1ae/0xc90 [vxlan] [ 906.133500][ C3] vxlan_xmit_one+0x2c0e/0x46d0 [vxlan] [ 906.133973][ C3] ? stack_access_ok+0xda/0x1f0 [ 906.134379][ C3] ? arch_stack_walk+0x68/0x100 [ 906.134841][ C3] ? __pfx_vxlan_xmit_one+0x10/0x10 [vxlan] [ 906.135363][ C3] ? __lock_acquire+0xb67/0x1610 [ 906.135803][ C3] ? __dev_queue_xmit+0x1e2/0x17f0 [ 906.136251][ C3] ? vxlan_xmit+0x9ac/0xf30 [vxlan] [ 906.136702][ C3] vxlan_xmit+0x9ac/0xf30 [vxlan] [ 906.137164][ C3] dev_hard_start_xmit+0x13d/0x570 [ 906.137608][ C3] __dev_queue_xmit+0xf7d/0x17f0 [ 906.138032][ C3] ? __pfx___dev_queue_xmit+0x10/0x10 [ 906.138367][ C3] ? __lock_release+0x40f/0x880 [ 906.138644][ C3] ? __pfx___lock_release+0x10/0x10 [ 906.138954][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 906.139270][ C3] br_dev_queue_push_xmit+0x114/0x240 [ 906.139556][ C3] ? __pfx_br_dev_queue_push_xmit+0x10/0x10 [ 906.139883][ C3] deliver_clone+0x52/0x90 [ 906.140147][ C3] br_handle_frame_finish+0xbdd/0x1ce0 [ 906.140439][ C3] ? __pfx_br_handle_frame_finish+0x10/0x10 [ 906.140754][ C3] ? hlock_class+0x4e/0x130 [ 906.140986][ C3] ? __lock_release+0x40f/0x880 [ 906.141306][ C3] br_handle_frame+0x60d/0xd60 [ 906.141708][ C3] ? __pfx_br_handle_frame+0x10/0x10 [ 906.142123][ C3] __netif_receive_skb_core.constprop.0+0x783/0x2dc0 [ 906.142483][ C3] ? mark_lock+0x38/0x3e0 [ 906.142734][ C3] ? __lock_acquire+0xb67/0x1610 [ 906.143005][ C3] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10 [ 906.143452][ C3] ? lock_acquire.part.0+0xe5/0x330 [ 906.143727][ C3] ? process_backlog+0x1ed/0x5e0 [ 906.144004][ C3] __netif_receive_skb_one_core+0xaf/0x1b0 [ 906.144319][ C3] ? __pfx___netif_receive_skb_one_core+0x10/0x10 [ 906.144678][ C3] ? lock_acquire+0x1c1/0x220 [ 906.144914][ C3] ? process_backlog+0x1ed/0x5e0 [ 906.145175][ C3] process_backlog+0xd3/0x5e0 [ 906.145433][ C3] __napi_poll.constprop.0+0xa2/0x460 [ 906.145732][ C3] net_rx_action+0x440/0xb40 [ 906.145982][ C3] ? __pfx_net_rx_action+0x10/0x10 [ 906.146276][ C3] ? lockdep_unlock+0x190/0x230 [ 906.146548][ C3] ? mark_held_locks+0xa5/0xf0 [ 906.146807][ C3] __do_softirq+0x1b9/0x7ff [ 906.147059][ C3] ? __dev_queue_xmit+0x6dd/0x17f0 [ 906.147334][ C3] do_softirq+0x4d/0xa0 [ 906.147564][ C3] [ 906.147714][ C3] [ 906.147902][ C3] __local_bh_enable_ip+0xf6/0x120 [ 906.148186][ C3] ? __dev_queue_xmit+0x6dd/0x17f0 [ 906.148447][ C3] __dev_queue_xmit+0x6f2/0x17f0 [ 906.148717][ C3] ? mark_held_locks+0xa5/0xf0 [ 906.148996][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 906.149348][ C3] ? __pfx___dev_queue_xmit+0x10/0x10 [ 906.149620][ C3] ? neigh_hh_output+0x348/0x590 [ 906.149912][ C3] ip6_finish_output2+0x59b/0xf60 [ 906.150212][ C3] ip6_finish_output+0x553/0xdf0 [ 906.150485][ C3] ip6_output+0x1ea/0x760 [ 906.150709][ C3] ? __pfx_ip6_output+0x10/0x10 [ 906.150961][ C3] ? lock_acquire.part.0+0xe5/0x330 [ 906.151284][ C3] ? hlock_class+0x4e/0x130 [ 906.151535][ C3] ? __lock_release+0x40f/0x880 [ 906.151795][ C3] NF_HOOK.constprop.0+0xe2/0x680 [ 906.152089][ C3] ? __pfx_NF_HOOK.constprop.0+0x10/0x10 [ 906.152383][ C3] ? __pfx_xfrm_lookup_with_ifid+0x10/0x10 [ 906.152681][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 906.153011][ C3] ? icmp6_dst_alloc+0x2c0/0x450 [ 906.153270][ C3] ? __local_bh_enable_ip+0xa6/0x120 [ 906.153544][ C3] mld_sendpack+0x62c/0xbc0 [ 906.153777][ C3] ? ipv6_mc_dad_complete+0x27/0x230 [ 906.154047][ C3] ? __pfx_mld_sendpack+0x10/0x10 [ 906.154338][ C3] ipv6_mc_dad_complete+0x1c4/0x230 [ 906.154606][ C3] addrconf_dad_completed+0x9d0/0xdf0 [ 906.154883][ C3] ? __pfx_addrconf_dad_completed+0x10/0x10 [ 906.155195][ C3] ? mark_held_locks+0xa5/0xf0 [ 906.155453][ C3] ? addrconf_dad_work+0x38c/0xa90 [ 906.155711][ C3] addrconf_dad_work+0x38c/0xa90 [ 906.155969][ C3] ? __pfx_addrconf_dad_work+0x10/0x10 [ 906.156258][ C3] ? lock_acquire+0x1c1/0x220 [ 906.156495][ C3] ? process_one_work+0x714/0x1310 [ 906.156780][ C3] process_one_work+0x78c/0x1310 [ 906.157058][ C3] ? hlock_class+0x4e/0x130 [ 906.157298][ C3] ? __pfx_process_one_work+0x10/0x10 [ 906.157613][ C3] ? assign_work+0x16c/0x240 [ 906.157854][ C3] worker_thread+0x73d/0x1010 [ 906.158111][ C3] ? __pfx_worker_thread+0x10/0x10 [ 906.158379][ C3] kthread+0x28f/0x360 [ 906.158611][ C3] ? __pfx_kthread+0x10/0x10 [ 906.158862][ C3] ret_from_fork+0x31/0x70 [ 906.159108][ C3] ? __pfx_kthread+0x10/0x10 [ 906.159383][ C3] ret_from_fork_asm+0x1b/0x30 [ 906.159657][ C3] [ 906.159832][ C3] ---[ end trace ]--- [ 906.185763][ C3] br0: received packet on vxlan0 with own address as source address (addr:e2:17:a9:a1:f0:6f, vlan:0) # Check VM connectivity through VXLAN (underlay in the default VRF) [ OK ] [ 906.874773][ T5410] br0: port 1(vxlan0) entered disabled state [ 907.036226][ T5411] br0: port 1(vxlan0) entered blocking state [ 907.036591][ T5411] br0: port 1(vxlan0) entered forwarding state [ 907.378974][ T5413] br0: port 1(vxlan0) entered disabled state [ 907.546389][ T5414] br0: port 1(vxlan0) entered blocking state [ 907.546751][ T5414] br0: port 1(vxlan0) entered forwarding state # Check VM connectivity through VXLAN (underlay in a VRF) [ OK ] [ 908.743380][ T11] veth-tap: left allmulticast mode [ 908.743937][ T11] veth-tap: left promiscuous mode [ 908.744604][ T11] br0: port 2(veth-tap) entered disabled state [ 908.748884][ T11] vxlan0: left allmulticast mode [ 908.749466][ T11] vxlan0: left promiscuous mode [ 908.750049][ T11] br0: port 1(vxlan0) entered disabled state [ 908.890506][ T11] br0: port 1(vxlan0) entered disabled state [ 908.892067][ T11] vxlan0 (unregistering): left allmulticast mode [ 908.892648][ T11] vxlan0 (unregistering): left promiscuous mode [ 908.892981][ T11] br0: port 1(vxlan0) entered disabled state [ 909.263802][ T11] veth-tap: left allmulticast mode [ 909.264106][ T11] veth-tap: left promiscuous mode [ 909.264525][ T11] br0: port 2(veth-tap) entered disabled state ok 1 selftests: net: test_vxlan_under_vrf.sh make[1]: Leaving directory '/home/virtme/testing-3/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-3/tools/testing/selftests' xx__-> echo $? 0 xx__->