make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=skbedit__priority.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-4/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding' make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding' TAP version 13 1..1 # overriding timeout to 21600 # selftests: net/forwarding: skbedit_priority.sh [ 77.370084][ T638] br1: port 1(veth1) entered blocking state [ 77.371445][ T638] br1: port 1(veth1) entered disabled state [ 77.378029][ T638] veth1: entered allmulticast mode [ 77.380624][ T638] veth1: entered promiscuous mode [ 77.530275][ T41] br1: port 1(veth1) entered blocking state [ 77.530713][ T41] br1: port 1(veth1) entered forwarding state [ 77.677826][ T640] br1: port 2(veth2) entered blocking state [ 77.678177][ T640] br1: port 2(veth2) entered disabled state [ 77.678548][ T640] veth2: entered allmulticast mode [ 77.680586][ T640] veth2: entered promiscuous mode [ 77.833967][ T41] br1: port 2(veth2) entered blocking state [ 77.834307][ T41] br1: port 2(veth2) entered forwarding state [ 77.839006][ C3] ------------[ cut here ]------------ [ 77.839418][ C3] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9 [ 77.839839][ C3] load of value 107 is not a valid value for type '_Bool' [ 77.840236][ C3] CPU: 3 PID: 43 Comm: kworker/3:1 Not tainted 6.8.0-rc4-virtme #1 [ 77.840681][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 77.841407][ C3] Workqueue: mld mld_ifc_work [ 77.841701][ C3] Call Trace: [ 77.841878][ C3] [ 77.842037][ C3] dump_stack_lvl+0x92/0xb0 [ 77.842311][ C3] __ubsan_handle_load_invalid_value+0xa7/0xe0 [ 77.842676][ C3] br_forward_finish.cold+0xf/0x3c [bridge] [ 77.843113][ C3] deliver_clone+0x52/0x90 [bridge] [ 77.843422][ C3] br_handle_frame_finish+0xbdd/0x1ce0 [bridge] [ 77.84 DETECTED CRASH, lowering timeout 3797][ C3] ? __pfx_br_handle_frame_finish+0x10/0x10 [bridge] [ 77.844183][ C3] ? __pfx_update_sd_lb_stats.constprop.0+0x10/0x10 [ 77.844538][ C3] br_handle_frame+0x612/0xe70 [bridge] [ 77.844863][ C3] ? __pfx_br_handle_frame+0x10/0x10 [bridge] [ 77.845212][ C3] __netif_receive_skb_core.constprop.0+0x783/0x2dc0 [ 77.845578][ C3] ? mark_lock+0x38/0x3e0 [ 77.845828][ C3] ? __lock_acquire+0xb67/0x1610 [ 77.846102][ C3] ? __pfx___netif_receive_skb_core.constprop.0+0x10/0x10 [ 77.846480][ C3] ? lock_acquire.part.0+0xe5/0x330 [ 77.846764][ C3] ? process_backlog+0x1ed/0x5e0 [ 77.847046][ C3] __netif_receive_skb_one_core+0xaf/0x1b0 [ 77.847383][ C3] ? __pfx___netif_receive_skb_one_core+0x10/0x10 [ 77.847742][ C3] ? lock_acquire+0x1c1/0x220 [ 77.847988][ C3] ? process_backlog+0x1ed/0x5e0 [ 77.848251][ C3] process_backlog+0xd3/0x5e0 [ 77.848506][ C3] __napi_poll.constprop.0+0xa2/0x460 [ 77.848791][ C3] net_rx_action+0x440/0xb40 [ 77.849043][ C3] ? swake_up_one+0x1f/0x1f0 [ 77.849284][ C3] ? __pfx_net_rx_action+0x10/0x10 [ 77.849553][ C3] ? hlock_class+0x20/0x130 [ 77.849797][ C3] ? mark_held_locks+0xa5/0xf0 [ 77.850054][ C3] __do_softirq+0x1b9/0x7ff [ 77.850297][ C3] ? __dev_queue_xmit+0x6cd/0x17e0 [ 77.850566][ C3] do_softirq+0x4d/0xa0 [ 77.850787][ C3] [ 77.850946][ C3] [ 77.851102][ C3] __local_bh_enable_ip+0xf6/0x120 [ 77.851368][ C3] ? __dev_queue_xmit+0x6cd/0x17e0 [ 77.851635][ C3] __dev_queue_xmit+0x6e2/0x17e0 [ 77.851898][ C3] ? mark_held_locks+0xa5/0xf0 [ 77.852149][ C3] ? eth_header+0x158/0x1a0 [ 77.852389][ C3] ? __pfx___dev_queue_xmit+0x10/0x10 [ 77.852666][ C3] ? neigh_resolve_output+0x3ec/0x7a0 [ 77.852960][ C3] ip6_finish_output2+0x4ab/0xf80 [ 77.853232][ C3] ip6_finish_output+0x4ed/0xd30 [ 77.853497][ C3] ip6_output+0x1f3/0x770 [ 77.853726][ C3] ? __pfx_ip6_output+0x10/0x10 [ 77.853981][ C3] ? lock_acquire.part.0+0xe5/0x330 [ 77.854255][ C3] ? hlock_class+0x4e/0x130 [ 77.854493][ C3] ? __lock_release+0x40f/0x880 [ 77.854753][ C3] NF_HOOK.constprop.0+0xe2/0x680 [ 77.855017][ C3] ? __pfx_NF_HOOK.constprop.0+0x10/0x10 [ 77.855323][ C3] ? __pfx_xfrm_lookup_with_ifid+0x10/0x10 [ 77.855642][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 77.855983][ C3] ? icmp6_dst_alloc+0x2c0/0x450 [ 77.856242][ C3] ? __local_bh_enable_ip+0xa6/0x120 [ 77.856522][ C3] mld_sendpack+0x62c/0xbc0 [ 77.856789][ C3] ? __pfx_mld_sendpack+0x10/0x10 [ 77.857061][ C3] ? mld_send_cr+0x3a1/0x780 [ 77.857308][ C3] mld_ifc_work+0x36/0x200 [ 77.857555][ C3] process_one_work+0x78c/0x1310 [ 77.857851][ C3] ? hlock_class+0x4e/0x130 [ 77.858105][ C3] ? __pfx_process_one_work+0x10/0x10 [ 77.858409][ C3] ? assign_work+0x16c/0x240 [ 77.858654][ C3] worker_thread+0x73d/0x1010 [ 77.858912][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 77.859272][ C3] ? __pfx_worker_thread+0x10/0x10 [ 77.859557][ C3] ? __pfx_worker_thread+0x10/0x10 [ 77.859823][ C3] kthread+0x28f/0x360 [ 77.860075][ C3] ? __pfx_kthread+0x10/0x10 [ 77.860328][ C3] ret_from_fork+0x31/0x70 [ 77.860561][ C3] ? __pfx_kthread+0x10/0x10 [ 77.860813][ C3] ret_from_fork_asm+0x1b/0x30 [ 77.861100][ C3] [ 77.861284][ C3] ---[ end trace ]--- # TEST: ping [ OK ] # TEST: dev veth1 ingress skbedit priority 0 -> classid 10:8 [ OK ] # TEST: dev veth1 ingress skbedit priority 1 -> classid 10:7 [ OK ] # TEST: dev veth1 ingress skbedit priority 2 -> classid 10:6 [ OK ] # TEST: dev veth1 ingress skbedit priority 3 -> classid 10:5 [ OK ] # TEST: dev veth1 ingress skbedit priority 4 -> classid 10:4 [ OK ] # TEST: dev veth1 ingress skbedit priority 5 -> classid 10:3 [ OK ] # TEST: dev veth1 ingress skbedit priority 6 -> classid 10:2 [ OK ] # TEST: dev veth1 ingress skbedit priority 7 -> classid 10:1 [ OK ] # TEST: dev veth2 egress skbedit priority 0 -> classid 10:8 [ OK ] # TEST: dev veth2 egress skbedit priority 1 -> classid 10:7 [ OK ] # TEST: dev veth2 egress skbedit priority 2 -> classid 10:6 [ OK ] # TEST: dev veth2 egress skbedit priority 3 -> classid 10:5 [ OK ] # TEST: dev veth2 egress skbedit priority 4 -> classid 10:4 [ OK ] # TEST: dev veth2 egress skbedit priority 5 -> classid 10:3 [ OK ] # TEST: dev veth2 egress skbedit priority 6 -> classid 10:2 [ OK ] # TEST: dev veth2 egress skbedit priority 7 -> classid 10:1 [ OK ] [ 111.878032][ T956] br1: port 2(veth2) entered disabled state [ 112.031953][ T957] veth2: left allmulticast mode [ 112.032251][ T957] veth2: left promiscuous mode [ 112.033018][ T957] br1: port 2(veth2) entered disabled state [ 112.180264][ T958] br1: port 1(veth1) entered disabled state [ 112.327248][ T959] veth1: left allmulticast mode [ 112.327573][ T959] veth1: left promiscuous mode [ 112.327963][ T959] br1: port 1(veth1) entered disabled state ok 1 selftests: net/forwarding: skbedit_priority.sh make[1]: Leaving directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding' make: Leaving directory '/home/virtme/testing-4/tools/testing/selftests' xx__-> echo $? 0 xx__->