make -C tools/testing/selftests TARGETS=net TEST_PROGS=test_vxlan_nolocalbbypass.sh TEST_GEN_PROGS="" run_tests make: Entering directory '/home/virtme/testing-1/tools/testing/selftests' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make[1]: Entering directory '/home/virtme/testing-1/tools/testing/selftests/net' TAP version 13 1..1 # timeout set to 6000 # selftests: net: test_vxlan_nolocalbypass.sh [ 3634.869252] GACT probability NOT on # TEST: localbypass enabled [ OK ] # TEST: Packet received by local VXLAN device - localbypass [ OK ] # TEST: localbypass disabled [ OK ] # TEST: Packet not received by local VXLAN device - nolocalbypass [ OK ] # TEST: localbypass enabled [ OK ] # TEST: Packet received by local VXLAN device - localbypass [ OK ] # # Tests passed: 6 # Tests failed: 0 [ 3635.630702] ------------[ cut here ]------------ [ 3635.631301] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [ 3635.631326] WARNING: CPU: 2 PID: 11 at kernel/locking/mutex.c:587 __mutex_lock+0x351/0x7a0 [ 3635.632971] Modules linked in: act_gact xt_HL amt l2tp_ip6 l2tp_eth l2tp_ip l2tp_netlink l2tp_core sch_etf sch_fq act_tunnel_key bareudp mpls_iptunnel mpls_router xfrm_interface sha1_generic xfrm_user act_mirred cls_matchall ip6_gre gre vxlan xt_length act_ct nf_flow_table cls_flower cls_bpf sch_ingress xt_conntrack sctp_diag sctp nft_chain_nat xt_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_REJECT ipt_REJECT nft_compat nf_tables libcrc32c [last unloaded: test_bpf] [ 3635.637525] CPU: 2 PID: 11 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 3635.638313] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 3635.639264] Workqueue: netns cleanup_net [ 3635.639550] RIP: 0010:__mutex_lock+0x351/0x7a0 [ 3635.640039] Code: ff 90 e8 a2 e7 70 ff 85 c0 74 23 8b 35 9c 8e db 00 85 f6 75 19 90 48 c7 c6 97 37 aa b7 48 c7 c7 3a ac a9 b7 e8 00 04 26 ff 90 <0f> 0b 90 90 90 e9 03 fd ff ff 4c 8d 6d a0 4c 89 e7 4c 89 ee e8 d6 [ 3635.641523] RSP: 0018:ffffa5ba00063ab0 EFLAGS: 00010286 [ 3635.642038] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000ffffdfff [ 3635.642614] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 3635.643315] RBP: ffffa5ba00063b30 R08: ffffffffb7f78508 R09: 00000000ffffdfff [ 3635.643999] R10: ffffffffb7e98520 R11: ffffffffb7f535f0 R12: ffff9687047cf700 [ 3635.644912] R13: 0000000000000000 R14: 0000000000000000 R15: ffff968705b8bc00 [ 3635.645768] FS: 0000000000000000(0000) GS:ffff96873ed00000(0000) knlGS:0000000000000000 [ 3635.646768] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3635.647479] CR2: 00007f408c41b000 CR3: 0000000011a60006 CR4: 0000000000770ef0 [ 3635.648345] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3635.649216] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 3635.650056] PKRU: 55555554 [ 3635.650361] Call Trace: [ 3635.650653] [ 3635.650831] ? __warn+0x84/0x170 [ 3635.651128] ? __mutex_lock+0x351/0x7a0 [ 3635.651340] ? report_bug+0x199/0x1b0 [ 3635.651545] ? handle_bug+0x3d/0x70 [ 3635.651745] ? exc_invalid_op+0x18/0x70 [ 3635.651956] ? asm_exc_invalid_op+0x1a/0x20 [ 3635.652298] ? __mutex_lock+0x351/0x7a0 [ 3635.652782] ? refcount_dec_and_mutex_lock+0x35/0x80 [ 3635.653127] ? up_read+0x1b/0x30 [ 3635.653476] ? tc_setup_cb_destroy+0x116/0x180 [ 3635.654042] ? refcount_dec_and_mutex_lock+0x35/0x80 [ 3635.654764] refcount_dec_and_mutex_lock+0x35/0x80 [ 3635.655380] __tcf_action_put+0x1e/0x70 [ 3635.655936] tcf_action_destroy+0x31/0x80 [ 3635.656530] tcf_exts_destroy+0x20/0x40 [ 3635.657092] __fl_destroy_filter+0x1e/0x80 [cls_flower] [ 3635.657854] __fl_delete+0x12d/0x180 [cls_flower] [ 3635.658562] fl_destroy+0xbd/0x140 [cls_flower] [ 3635.659115] tcf_proto_destroy+0x1f/0xc0 [ 3635.659586] tcf_chain_flush+0xab/0x170 [ 3635.660083] __tcf_block_put+0xd2/0x190 [ 3635.660550] clsact_destroy+0xa0/0x380 [sch_ingress] [ 3635.661132] __qdisc_destroy+0x51/0x150 [ 3635.661593] dev_shutdown+0x78/0x190 [ 3635.661979] unregister_netdevice_many_notify+0x23e/0x7f0 [ 3635.662374] cleanup_net+0x268/0x400 [ 3635.662696] ? process_one_work+0x16c/0x4b0 [ 3635.663006] process_one_work+0x1d6/0x4b0 [ 3635.663408] worker_thread+0x1c1/0x3d0 [ 3635.663636] ? __pfx_worker_thread+0x10/0x10 [ 3635.663921] kthread+0xda/0x110 [ 3635.664207] ? __pfx_kthread+0x10/0x10 [ 3635.664428] ret_from_fork+0x31/0x50 [ 3635.664657] ? __pfx_kthread+0x10/0x10 [ 3635.664867] ret_from_fork_asm+0x1b/0x30 [ 3635.665175] [ 3635.665317] irq event stamp: 5023823 [ 3635.665579] hardirqs last enabled at (5023823): [] __call_rcu_common.constprop.0+0x307/0x4f0 [ 3635.666206] hardirqs last disabled at (5023822): [] __call_rcu_common.constprop.0+0x31c/0x4f0 [ 3635.666865] softirqs last enabled at (5023776): [] unregister_netdevice_many_notify+0x31f/0x7f0 [ 3635.667452] softirqs last disabled at (5023774): [] dev_mc_flush+0x41/0xc0 [ 3635.667936] ---[ end trace 0000000000000000 ]--- ok 1 selftests: net: test_vxlan_nolocalbypass.sh make[1]: Leaving directory '/home/virtme/testing-1/tools/testing/selftests/net' make: Leaving directory '/home/virtme/testing-1/tools/testing/selftests' xx__-> echo $? 0 xx__->