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
# timeout set to 6000
# selftests: net: l2_tos_ttl_inherit.sh
# ┌────────┬───────┬───────┬──────────────┬──────────────┬───────┬────────┐
[ 2115.955687][T23793] gre: GRE over IPv4 demultiplexor driver
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ Type │ outer | inner │ tos │ ttl │ vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ gre │ 4 │ 4 │ inherit 0x6c │ inherit 165 │ false │[ 2117.346759][T23816] ip_gre: GRE over IPv4 tunneling driver
[ 2117.437794][T23815] ip (23815) used greatest stack depth: 23744 bytes left
OK │
# │ gre │ 4 │ 4 │ inherit 0x60 │ inherit 201 │ true │[ 2119.977528][T23859] ip (23859) used greatest stack depth: 23328 bytes left
OK │
# │ gre │ 4 │ 4 │ fixed 0x94 │ fixed 253 │ false │ OK │
# │ gre │ 4 │ 4 │ fixed 0xd8 │ fixed 21 │ true │ OK │
# ├───────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ gre │ 4 │ 6 │ inherit 0x84 │ inherit 133 │ false │ OK │
# │ gre │ 4 │ 6 │ inherit 0x84 │ inherit 181 │ true │ OK │
# │ gre │ 4 │ 6 │ fixed 0xc4 │ fixed 126 │ false │ OK │
# │ gre │ 4 │ 6 │ fixed 0x24 │ fixed 225 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ gre │ 4 │ other │ inherit 0x08 │ inherit 235 │ false │ OK │
# │ gre │ 4 │ other │ inherit 0xf8 │ inherit 188 │ true │ OK │
# │ gre │ 4 │ other │ fixed 0x60 │ fixed 25 │ false │ OK │
# │ gre │ 4 │ other │ fixed 0x90 │ fixed 84 │ true │ OK │
# ├────────┼───────┼──────┼──────────────┼──────────────┼───────┼────────┤
# │ Type │ outer | inner │ tos │ ttl │ vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ gre │ 6 │ 4 │ inherit 0x04 │ inherit 217 │ false │[ 2161.057619][T24388] ip6_gre: GRE over IPv6 tunneling driver
OK │
# │ gre │ 6 │ 4 │ inherit 0xdc │ inherit 104 │ true │ OK │
# │ gre │ 6 │ 4 │ fixed 0x6c │ fixed 145 │ false │ OK │
# │ gre │ 6 │ 4 │ fixed 0xec │ fixed 126 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ gre │ 6 │ 6 │ inherit 0xf8 │ inherit 170 │ false │ OK │
# │ gre │ 6 │ 6 │ inherit 0x0c │ inherit 186 │ true │ OK │
# │ gre │ 6 │ 6 │ fixed 0xc0 │ fixed 133 │ false │ OK │
# │ gre │ 6 │ 6 │ fixed 0x60 │ fixed 30 true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ gre │ 6 │ other │ inherit 0x68 │ inherit 106 │ false │ OK │
# │ gre │ 6 │ other │ inherit 0x98 │ inherit 120 │ true │[ 2190.981214][ C1] ip6_tunnel: tep0 xmit: Local address not yet configured!
OK │
# │ gre │ 6 │ other │ fixed 0xdc │ fixed 163 │ false │[ 2195.333123][ C1] ip6_tunnel: tep0 xmit: Local address not yet configured!
OK │
# │ gre │ 6 │ other │ fixed 0x1c │ fixed 18 │ true │[ 2199.174105][ C2] ip6_tunnel: tep0 xmit: Local address not yet configured!
OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ Type │ outer | inner │ tos │ ttl │ vlan │ result │
# ├────────┼─────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ vxlan │ 4 │ 4 │ inherit 0x6c │ inherit 219 │ false │[ 2203.717181][ C2] ip6_tunnel: tep0 xmit: Local address not yet configured!
OK │
# │ vxlan │ 4 │ 4 │ inherit 0xbc │ inherit 126 │ true │ OK │
# │ vxlan │ 4 │ 4 │ fixed 0xc0 │ fixed 146 │ false │ OK │
# │ vxlan │ 4 │ 4 │ fixed 0xf8 │ fixed 83 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ vxlan │ 4 │ 6 │ inherit 0x6c │ inherit 241 │ false │ OK │
# │ vxlan │ 4 │ 6 │ inherit 0xa0 │ inherit 233 │ true │ OK │
# │ vxlan │ 4 │ 6 │ fixed 0xd8 │ fixed 39 │ false │ OK │
# │ vxlan │ 4 │ 6 │ fixed 0x7c │ fixed 188 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ vxlan │ 4 │ other │ inherit 0x50 │ inherit 37 │ false │ OK │
# │ vxlan │ 4 │ other │ inherit 0x2c │ inherit 103 │ true │ OK │
# │ vxlan │ 4 │ other │ fixed 0xfc │ fixed 250 │ false │ OK │
# │ vxlan │ 4 │ other │ fixed 0x0c │ fixed 173 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ Type │ outer | inner │ tos │ ttl │ vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ vxlan │ 6 │ 4 │ inherit 0xb0 │ inherit 33 │ false │ OK │
# │ vxlan │ 6 │ 4 │ inherit 0x44 │ inherit 87 │ true │ OK │
# │ vxlan │ 6 │ 4 │ fixed 0xa0 fixed 102 │ false │ OK │
# │ vxlan │ 6 │ 4 │ fixed 0xcc │ fixed 234 │ true │ OK │
# ├────────┼───────┼────────────────────┼──────────────┼───────┼────────┤
# │ vxlan │ 6 │ 6 │ inherit 0x40 │ inherit 249 │ false │ OK │
# │ vxlan │ 6 │ 6 │ inherit 0x3c │ inherit 112 │ true │ OK │
# │ vxlan │ 6 │ 6 │ fixed 0x10 │ fixed 246 │ false │ OK │
# │ vxlan │ 6 │ 6 │ fixed 0xb0 │ fixed 200 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ vxlan │ 6 │ other │ inherit 0xe0 │ inherit 11 │ false │ OK │
# │ vxlan │ 6 │ other │ inherit 0xe4 │ inherit 13 │ true │ OK │
# │ vxlan │ 6 │ other │ fixed 0x3c │ fixed 74 │ false │ OK │
# │ vxlan │ 6 │ other │ fixed 0xe0 │ fixed 213 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ Type │ outer | inner │ tos │ ttl │ vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ geneve │ 4 │ 4 │ inherit 0xa4 │ inherit 149 │ false │ OK │
[ 2294.716338][ T11] ------------[ cut here ]------------
[ 2294.716808][ T11] WARNING: CPU: 0 PID: 11 at drivers/net/geneve.c:1914 geneve_exit_batch_rtnl+0x2c4/0x3a0 [geneve]
[ 2294.717412][ T11] Modules linked in: geneve ip6_gre ip_gre gre poly1305_generic libpoly1305 chacha_generic libchacha chacha20poly1305 tls xt_mark sch_ingress act_mirred cls_basic sch_fq_codel nft_compat nf_tables libcrc32c vxlan ip6_udp_tunnel udp_tunnel mpls_iptunnel mpls_router
[ 2294.718840][ T11] CPU: 0 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1
[ 2294.719279][ T11] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 2294.719929][ T11] Workqueue: netns cleanup_net
[ 2294.720210][ T11] RIP: 0010:geneve_exit_batch_rtnl+0x2c4/0x3a0 [geneve]
[ 2294.720594][ T11] Code: 00 48 8b 83 b8 00 00 00 48 8d 98 48 ff ff ff 48 39 44 24 10 75 a5 48 83 c4 20 5b 5d 41 5c 41 5d 41 5e 41 5f c3 cc cc cc cc 90 <0f> 0b 90 eb b9 e8 d2 4d 1a d3 e9 2d fe ff ff 48 89 cf 48 89 4c 24
[ 2294.721641][ T11] RSP: 0018:ffffc900000bfbe0 EFLAGS: 00010297
[ 2294.721976][ T11] RAX: ffff88800e430008 RBX: ffff888004dd1a00 RCX: 1ffff1100038091e
[ 2294.722408][ T11] RDX: 1ffff11000f30b86 RSI: 1ffff11006a454be RDI: ffff888001c048f0
[ 2294.722833][ T11] RBP: ffff888007985c30 R08: ffff888001c048f8 R09: fffffbfff31aa078
[ 2294.723340][ T11] R10: ffffffff98d503c7 R11: ffff8880353fc508 R12: dffffc0000000000
[ 2294.723821][ T11] R13: fffffbfff2d8f027 R14: ffffffff97365698 R15: ffff888007985bd0
[ 2294.724385][ T11] FS: 0000000000000000(0000) GS:ffff888035200000(0000) knlGS:0000000000000000
[ 2294.724959][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2294.725329][ T11] CR2: 0000557bf5341990 CR3: 000000000ecb2003 CR4: 00000000001706f0
[ 2294.725823][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 2294.726313][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 2294.726774][ T11] Call Trace:
[ 2294.726957][ T11]
[ 2294.727135][ T11] ? __warn+0xcd/0x2d0
[ 2294.727371][ T11] ? geneve_exit_batch_rtnl+0x2c4/0x3a0 [geneve]
[ 2294.727716][ T11] ? report_bug+0x291/0x2e0
[ 2294.727976][ T11] ? handle_bug+0x3d/0x80
[ 2294.728230][ T11] ? exc_invalid_op+0x18/0x50
[ 2294.728496][ T11] ? asm_exc_invalid_op+0x1a/0x20
[ 2294.728881][ T11] ? geneve_exit_batch_rtnl+0x2c4/0x3a0 [geneve]
[ 2294.729337][ T11] ? default_device_exit_batch_rtnl+0x185/0x210
[ 2294.729746][ T11] cleanup_net+0x499/0xb50
[ 2294.730043][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2294.730353][ T11] ? __pfx_cleanup_net+0x10/0x10
[ 2294.730632][ T11] ? lock_acquire+0x1c1/0x220
[ 2294.730887][ T11] ? process_one_work+0x714/0x1310
[ 2294.731185][ T11] process_one_work+0x78f/0x1310
[ 2294.731473][ T11] ? hlock_class+0x4e/0x130
[ 2294.731724][ T11] ? __pfx_process_one_work+0x10/0x10
[ 2294.732040][ T11] ? assign_work+0x16c/0x240
[ 2294.732298][ T11] worker_thread+0x73d/0x1010
[ 2294.732569][ T11] ? __pfx_worker_thread+0x10/0x10
[ 2294.732844][ T11] kthread+0x292/0x360
[ 2294.733081][ T11] ? __pfx_kthread+0x10/0x10
[ 2294.733337][ T11] ret_from_fork+0x34/0x70
[ 2294.733583][ T11] ? __pfx_kthread+0x10/0x10
[ 2294.733830][ T11] ret_from_fork_asm+0x1b/0x30
[ 2294.734186][ T11]
[ 2294.734388][ T11] irq event stamp: 9523267
[ 2294.734676][ T11] hardirqs last enabled at (9523279): [] console_unlock+0x232/0x260
[ 2294.735241][ T11] hardirqs last disabled at (9523292): [] console_unlock+0x217/0x260
[ 2294.735804][ T11] softirqs last enabled at (9522914): [] __do_softirq+0x519/0x7ff
[ 2294.736379][ T11] softirqs last disabled at (9522881): [] irq_exit_rcu+0x98/0xc0
[ 2294.736869][ T11] ---[ end trace 0000000000000000 ]---
# │ geneve │ 4 │ 4 │ inherit 0xe4 │ inherit 213 │ true │ OK │
# │ geneve │ 4 │ 4 │ fixed 0xa0 │ fixed 39 │ false │ OK │
# │ geneve │ 4 │ 4 │ fixed 0xb0 │ fixed 129 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ geneve │ 4 │ 6 │ inherit 0xd8 │ inherit 74 │ false │ OK │
# │ geneve │ 4 │ 6 │ inherit 0x74 │ inherit 19 │ true │ OK │
# │ geneve │ 4 │ 6 │ fixed 0x58 │ fixed 237 │ false │ OK │
# │ geneve │ 4 │ 6 │ fixed 0x68 │ fixed 168 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ geneve │ 4 │ other │ inherit 0x84 │ inherit 194 │ false │ OK │
# │ geneve │ 4 │ other │ inherit 0x80 │ inherit 226 │ true │ OK │
# │ geneve │ 4 │ other │ fixed 0xb0 │ fixed 10 │ false │ OK │
# │ geneve │ 4 │ other │ fixed 0x50 │ fixed 231 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ Type │ outer | inner │ tos │ ttl │ vlan │ result │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ geneve │ 6 │ 4 │ inherit 0x14 │ inherit 237 │ false │ OK │
# │ geneve │ 6 │ 4 │ inherit 0x28 │ inherit 175 │ true │ OK │
# │ geneve │ 6 │ 4 │ fixed 0x04 │ fixed 255 │ false │ OK │
# │ geneve │ 6 4 │ fixed 0xd4 │ fixed 226 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼──────────────┼───────┼────────┤
# │ geneve │ 6 │ 6 │ inherit 0x34 │ inherit 135 │ false │ OK │
# │ geneve │ 6 │ 6 │ inherit 0x3c │ inherit 170 │ true │ OK │
# │ geneve │ 6 │ 6 │ fixed 0x3c │ fixed 84 │ false │ OK │
# │ geneve │ 6 │ 6 │ fixed 0x60 │ fixed 255 │ true │ OK │
# ├────────┼───────┼───────┼──────────────┼─────────────┼───────┼────────┤
# │ geneve │ 6 │ other │ inherit 0xa8 │ inherit 180 │ false │ OK │
# │ geneve │ 6 │ other │ inherit 0x2c │ inherit 187 │ true │ OK │
# │ geneve │ 6 │ other │ fixed 0x08 │ fixed 44 │ false │ OK │
# │ geneve │ 6 │ other │ fixed 0xf8 │ fixed 62 │ 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__->