make -C tools/testing/selftests TARGETS=net TEST_PROGS=l2_tos_ttl_inherit..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: l2_tos_ttl_inherit.sh # ┌────────┬───────┬──────┬──────────────┬──────────────┬───────┬────────┐ [ 22.646132][ T235] gre: GRE over IPv4 demultiplexor driver # ├────────┼───────┼───────┼─────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 4 │ inherit 0x54 │ inherit 69 │ false │[ 24.941433][ T259] ip_gre: GRE over IPv4 tunneling driver OK │ # │ gre │ 4 │ 4 │ inherit 0x8c │ inherit 34 │ true │ OK │ # │ gre │ 4 │ 4 │ fixed 0x90 │ fixed 170 │ false │ OK │ # │ gre │ 4 │ 4 │ fixed 0x08 │ fixed 124 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ 6 │ inherit 0x2c │ inherit 147 │ false │ OK │ # │ gre │ 4 │ 6 inherit 0x8c │ inherit 180 │ true │ OK │ # │ gre │ 4 │ 6 │ fixed 0x8c │ fixed 81 │ false │ OK │ # │ gre │ 4 │ 6 │ fixed 0x50 │ fixed 178 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 4 │ other │ inherit 0xc4 │ inherit 168 │ false │ OK │ # │ gre │ 4 │ other │ inherit 0xd0 │ inherit 217 │ true OK │ # │ gre │ 4 │ other │ fixed 0xb8 │ fixed 35 │ false │ OK │ # │ gre │ 4 │ other │ fixed 0xd8 │ fixed 226 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 4 │ inherit 0x58 │ inherit 140 │ false │[ 91.200299][ T841] ip6_gre: GRE over IPv6 tunneling driver [ 91.604679][ C2] ------------[ cut here ]------------ [ 91.605086][ C2] UBSAN: invalid-load in ./include/linux/skbuff.h:4267:9 [ 91.605451][ C2] load of value 107 is not a valid value for type '_Bool' [ 91.605836][ C2] CPU: 2 PID: 28 Comm: kworker/2:0 Not tainted 6.8.0-rc4-virtme #1 [ 91.606298][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 91.606990][ C2] Workqueue: mld mld_ifc_work [ 91.607247][ C2] Call Trace: [ 91.607448][ C2] [ 91.607603][ C2] dump_stack_lvl+0x92/0xb0 [ 91.607869][ C2] __ubsan_handle_load_invalid_value+0xa7/0xe0 [ 91.608202][ C2] skb_scrub_packet.cold+0x10/0x15 [ 91.608482][ C2] __dev_forward_skb2+0x332/0x650 [ 91.608755][ C2] veth_xmit+0x245/0x7c0 [ 91.608989][ C2] dev_hard_start_xmit+0x13d/0x570 [ 91.609270][ C2] __dev_queue_xmit+0xf7d/0x17f0 [ 91.609538][ C2] ? mark_held_locks+0xa5/0xf0 [ 91.60979 DETECTED CRASH, lowering timeout 5][ C2] ? eth_header+0x158/0x1a0 [ 91.610042][ C2] ? __pfx___dev_queue_xmit+0x10/0x10 [ 91.610325][ C2] ? neigh_resolve_output+0x3ec/0x7a0 [ 91.610621][ C2] ? __neigh_update+0x5bc/0x2620 [ 91.610889][ C2] __neigh_update+0x6a6/0x2620 [ 91.611163][ C2] ndisc_recv_na+0xa69/0x10f0 [ 91.611425][ C2] ? __pfx_ndisc_recv_na+0x10/0x10 [ 91.611694][ C2] ? __skb_checksum+0x112/0x980 [ 91.611989][ C2] icmpv6_rcv+0xefd/0x1590 [ 91.612241][ C2] ip6_protocol_deliver_rcu+0xb38/0x1240 [ 91.612542][ C2] ? ip6_route_input+0x5a4/0xa50 [ 91.612821][ C2] ip6_input_finish+0x120/0x260 [ 91.613082][ C2] ip6_input+0xca/0x380 [ 91.613306][ C2] ? __pfx_ip6_input+0x10/0x10 [ 91.613568][ C2] ? ip6_rcv_core+0x9df/0x1ad0 [ 91.613829][ C2] ipv6_rcv+0x3f9/0x810 [ 91.614055][ C2] ? __pfx_ipv6_rcv+0x10/0x10 [ 91.614313][ C2] ? lock_acquire.part.0+0xe5/0x330 [ 91.614588][ C2] ? process_backlog+0x1ed/0x5e0 [ 91.614853][ C2] ? __pfx_ipv6_rcv+0x10/0x10 [ 91.615102][ C2] __netif_receive_skb_one_core+0x118/0x1b0 [ 91.615414][ C2] ? __pfx___netif_receive_skb_one_core+0x10/0x10 [ 91.615756][ C2] ? lock_acquire+0x1c1/0x220 [ 91.616004][ C2] ? process_backlog+0x1ed/0x5e0 [ 91.616273][ C2] process_backlog+0xd3/0x5e0 [ 91.616532][ C2] __napi_poll.constprop.0+0xa2/0x460 [ 91.616824][ C2] net_rx_action+0x440/0xb40 [ 91.617082][ C2] ? __pfx_net_rx_action+0x10/0x10 [ 91.617354][ C2] ? lockdep_unlock+0x190/0x230 [ 91.617620][ C2] ? mark_held_locks+0xa5/0xf0 [ 91.617871][ C2] ? hrtimer_interrupt+0x31a/0x770 [ 91.618149][ C2] __do_softirq+0x1b9/0x7ff [ 91.618398][ C2] ? __dev_queue_xmit+0x6dd/0x17f0 [ 91.618671][ C2] do_softirq+0x4d/0xa0 [ 91.618892][ C2] [ 91.619049][ C2] [ 91.619209][ C2] __local_bh_enable_ip+0xf6/0x120 [ 91.619479][ C2] ? __dev_queue_xmit+0x6dd/0x17f0 [ 91.619747][ C2] __dev_queue_xmit+0x6f2/0x17f0 [ 91.620015][ C2] ? mark_held_locks+0xa5/0xf0 [ 91.620271][ C2] ? eth_header+0x158/0x1a0 [ 91.620518][ C2] ? __pfx___dev_queue_xmit+0x10/0x10 [ 91.620804][ C2] ? neigh_resolve_output+0x3ec/0x7a0 [ 91.621102][ C2] ip6_finish_output2+0x512/0xf60 [ 91.621406][ C2] ip6_finish_output+0x553/0xdf0 [ 91.621693][ C2] ip6_output+0x1ea/0x760 [ 91.621945][ C2] ? __pfx_ip6_output+0x10/0x10 [ 91.622202][ C2] ? lock_acquire.part.0+0xe5/0x330 [ 91.622500][ C2] ? hlock_class+0x4e/0x130 [ 91.622773][ C2] ? __lock_release+0x40f/0x880 [ 91.623061][ C2] NF_HOOK.constprop.0+0xe2/0x680 [ 91.623346][ C2] ? __pfx_NF_HOOK.constprop.0+0x10/0x10 [ 91.623677][ C2] ? __pfx_xfrm_lookup_with_ifid+0x10/0x10 [ 91.624011][ C2] ? lockdep_hardirqs_on_prepare.part.0+0x1b1/0x370 [ 91.624372][ C2] ? icmp6_dst_alloc+0x2c0/0x450 [ 91.624653][ C2] ? __local_bh_enable_ip+0xa6/0x120 [ 91.624957][ C2] mld_sendpack+0x62c/0xbc0 [ 91.625209][ C2] ? __pfx_mld_sendpack+0x10/0x10 [ 91.625487][ C2] ? mld_send_cr+0x3a1/0x780 [ 91.625746][ C2] mld_ifc_work+0x36/0x200 [ 91.626015][ C2] process_one_work+0x78c/0x1310 [ 91.626303][ C2] ? hlock_class+0x4e/0x130 [ 91.626559][ C2] ? __pfx_process_one_work+0x10/0x10 [ 91.626869][ C2] ? assign_work+0x16c/0x240 [ 91.627118][ C2] worker_thread+0x73d/0x1010 [ 91.627402][ C2] ? __pfx_worker_thread+0x10/0x10 [ 91.627686][ C2] kthread+0x28f/0x360 [ 91.627903][ C2] ? __pfx_kthread+0x10/0x10 [ 91.628158][ C2] ret_from_fork+0x31/0x70 [ 91.628413][ C2] ? __pfx_kthread+0x10/0x10 [ 91.628673][ C2] ret_from_fork_asm+0x1b/0x30 [ 91.628946][ C2] [ 91.629145][ C2] ---[ end trace ]--- OK │ # │ gre │ 6 │ 4 │ inherit 0xac │ inherit 231 │ true │ OK │ # │ gre │ 6 │ 4 │ fixed 0xfc │ fixed 87 │ false │ OK │ # │ gre │ 6 │ 4 │ fixed 0x4c │ fixed 85 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ 6 │ inherit 0xc0 │ inherit 150 │ false │ OK │ # │ gre │ 6 │ 6 │ inherit 0x18 │ inherit 194 │ true │ OK │ # │ gre │ 6 │ 6 │ fixed 0x54 │ fixed 166 │ false │ OK │ # │ gre │ 6 │ 6 │ fixed 0xe0 │ fixed 7 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ gre │ 6 │ other │ inherit 0x14 │ inherit 31 │ false │ OK │ [ 137.867262][ C1] ip6_tunnel: tep0 xmit: Local address not yet configured! # │ gre │ 6 │ other │ inherit 0xd0 │ inherit 12 │ true │ OK │ [ 144.331231][ C0] ip6_tunnel: tep0 xmit: Local address not yet configured! # │ gre │ 6 │ other │ fixed 0x10 │ fixed 226 │ false │ OK │ [ 149.643173][ C3] ip6_tunnel: tep0 xmit: Local address not yet configured! # │ gre │ 6 │ other │ fixed 0x68 │ fixed 73 │ true │ OK │ [ 156.043175][ C0] ip6_tunnel: tep0 xmit: Local address not yet configured! # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼───────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan 4 │ 4 │ inherit 0x34 │ inherit 219 │ false │ OK │ # │ vxlan │ 4 │ 4 │ inherit 0x84 │ inherit 238 │ true │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0x74 │ fixed 186 │ false │ OK │ # │ vxlan │ 4 │ 4 │ fixed 0xf4 │ fixed 47 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ 6 │ inherit 0x2c │ inherit 164 │ false │ OK │ # │ vxlan │ 4 │ 6 │ inherit 0xec │ inherit 107 │ true │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x24 │ fixed 239 │ false │ OK │ # │ vxlan │ 4 │ 6 │ fixed 0x70 │ fixed 69 │ true │ OK │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 4 │ other │ inherit 0x50 │ inherit 176 │ false │ OK │ # │ vxlan │ 4 │ other │ inherit 0x28 │ inherit 76 │ true │ OK │ # │ vxlan │ 4 │ other │ fixed 0x7c │ fixed 201 │ false │ OK │ # │ vxlan │ 4 │ other │ fixed 0x9c │ fixed 61 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 4 │ inherit 0x2c │ inherit 187 │ false │ OK │ # │ vxlan │ 6 │ 4 │ inherit 0x24 │ inherit 231 │ true │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xac │ fixed 115 │ false │ OK │ # │ vxlan │ 6 │ 4 │ fixed 0xac │ fixed 96 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ 6 │ inherit 0x70 │ inherit 105 │ false │ OK │ # │ vxlan │ 6 │ 6 │ inherit 0x1c │ inherit 92 │ true │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0x8c │ fixed 96 │ false │ OK │ # │ vxlan │ 6 │ 6 │ fixed 0xdc │ fixed 18 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ vxlan │ 6 │ other │ inherit 0x04 │ inherit 34 │ false │ OK │ # │ vxlan │ 6 │ other │ inherit 0x54 │ inherit 97 │ true │ OK │ # │ vxlan │ 6 other fixed 0xd8 │ fixed 224 │ false │ OK │ # │ vxlan │ 6 │ other │ fixed 0x14 │ fixed 197 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 4 │ inherit 0xfc │ inherit 158 │ false │ OK │ # │ geneve │ 4 │ 4 │ inherit 0x64 │ inherit 203 │ true │ OK │ # │ geneve │ 4 │ 4 │ fixed 0xfc │ fixed 156 │ false │ OK │ # │ geneve │ 4 │ 4 │ fixed 0x80 │ fixed 103 │ true │ OK │ # ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ 6 │ inherit 0x14 │ inherit 202 │ false │ OK │ # │ geneve │ 4 │ 6 │ inherit 0xf4 │ inherit 172 │ true │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x84 │ fixed 125 │ false │ OK │ # │ geneve │ 4 │ 6 │ fixed 0x3c │ fixed 130 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 4 │ other │ inherit 0x98 │ inherit 9 │ false │ OK │ # │ geneve │ 4 │ other │ inherit 0x40 │ inherit 139 │ true │ OK │ # │ geneve │ 4 │ other │ fixed 0xcc │ fixed 138 │ false │ OK │ # │ geneve │ 4 │ other │ fixed 0x54 │ fixed 110 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ Type │ outer | inner │ tos │ ttl │ vlan │ result │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 4 │ inherit 0xec │ inherit 245 │ false │ OK │ # │ geneve │ 6 │ 4 │ inherit 0xa4 │ inherit 117 │ true │ OK │ # │ geneve │ 6 │ 4 │ fixed 0x64 │ fixed 27 │ false OK │ # │ geneve │ 6 │ 4 │ fixed 0x4c │ fixed 125 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ 6 │ inherit 0x98 │ inherit 72 │ false │ OK │ # │ geneve │ 6 │ 6 │ inherit 0xd0 │ inherit 240 │ true │ OK │ # │ geneve │ 6 │ 6 │ fixed 0xfc │ fixed 30 │ false │ OK │ # │ geneve │ 6 │ 6 │ fixed 0x4c │ fixed 229 │ true │ OK │ # ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤ # │ geneve │ 6 │ other │ inherit 0x18 │ inherit 18 │ false │ OK │ # │ geneve │ 6 │ other │ inherit 0xec │ inherit 178 │ true │ OK │ # │ geneve │ 6 │ other │ fixed 0xac │ fixed 22 │ false │ OK │ # │ geneve │ 6 │ other │ fixed 0x5c │ fixed 194 │ true │ OK │ # └────────┴───────┴───────┴──────────────┴─────────────┴───────┴────────┘ ok 1 selftests: net: l2_tos_ttl_inherit.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__->