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 [ 3545.813858] 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 [ 3546.571132] ------------[ cut here ]------------ [ 3546.571645] DEBUG_LOCKS_WARN_ON(lock->magic != lock) [ 3546.571663] WARNING: CPU: 1 PID: 10 at kernel/locking/mutex.c:587 __mutex_lock+0x351/0x7a0 [ 3546.572632] Modules linked in: act_gact cls_flower sch_ingress ip6t_REJECT ipt_REJECT sch_etf sch_fq dccp_ipv6 dccp_ipv4 dccp vxlan nft_chain_nat xt_nat nf_nat xt_conntrack nf_conntrack nf_defrag_ipv4 nft_compat nf_tables libcrc32c nf_defrag_ipv6 poly1305_generic libpoly1305 chacha_generic libchacha chacha20poly1305 tls [ 3546.574777] CPU: 1 PID: 10 Comm: kworker/u8:0 Not tainted 6.8.0-rc2-virtme #1 [ 3546.575559] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 3546.576781] Workqueue: netns cleanup_net [ 3546.577232] RIP: 0010:__mutex_lock+0x351/0x7a0 [ 3546.577706] 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 6a bd 48 c7 c7 3a ac 69 bd 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 [ 3546.579585] RSP: 0018:ffffb7c28005ba30 EFLAGS: 00010282 [ 3546.580096] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00000000ffffdfff [ 3546.580784] RDX: 0000000000000000 RSI: 00000000ffffffea RDI: 0000000000000001 [ 3546.581436] RBP: ffffb7c28005bab0 R08: ffffffffbdb78508 R09: 00000000ffffdfff [ 3546.581870] R10: ffffffffbda98520 R11: ffffffffbdb4ca08 R12: ffff93a843979200 [ 3546.582376] R13: 0000000000000000 R14: 0000000000000000 R15: ffff93a84495d400 [ 3546.582932] FS: 0000000000000000(0000) GS:ffff93a87ec80000(0000) knlGS:0000000000000000 [ 3546.583408] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 3546.583714] CR2: 00007f5d60730000 CR3: 0000000015460001 CR4: 0000000000770ef0 [ 3546.584092] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 3546.584490] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 3546.584960] PKRU: 55555554 [ 3546.585106] Call Trace: [ 3546.585243] [ 3546.585362] ? __warn+0x84/0x170 [ 3546.585543] ? __mutex_lock+0x351/0x7a0 [ 3546.585747] ? report_bug+0x199/0x1b0 [ 3546.585953] ? handle_bug+0x3d/0x70 ok 1 selftests: [ 3546.586143] ? exc_invalid_op+0x18/0x70 net: test_vxlan_nolocalbypass.sh [ 3546.586650] ? asm_exc_invalid_op+0x1a/0x20 [ 3546.586963] ? __mutex_lock+0x351/0x7a0 [ 3546.587235] ? refcount_dec_and_mutex_lock+0x35/0x80 [ 3546.587565] ? up_read+0x1b/0x30 [ 3546.587820] ? tc_setup_cb_destroy+0x116/0x180 make[1]: Leaving[ 3546.588070] ? refcount_dec_and_mutex_lock+0x35/0x80 directory '/home/virtme/testing-1/tools/testing/selftests/net' [ 3546.588868] refcount_dec_and_mutex_lock+0x35/0x80 [ 3546.589217] __tcf_action_put+0x1e/0x70 [ 3546.589477] tcf_action_destroy+0x31/0x80 make: Leaving di[ 3546.589757] tcf_exts_destroy+0x20/0x40 rectory '/home/virtme/testing-1/tools/testing/selftests' [ 3546.590432] __fl_destroy_filter+0x1e/0x80 [cls_flower] [ 3546.590855] __fl_delete+0x12d/0x180 [cls_flower] [ 3546.591109] fl_destroy+0xbd/0x140 [cls_flower] [ 3546.591363] tcf_proto_destroy+0x1f/0xc0 [ 3546.591631] tcf_chain_flush+0xab/0x170 xx__-> [ 3546.591837] __tcf_block_put+0xd2/0x190 [ 3546.592109] clsact_destroy+0xa0/0x380 [sch_ingress] [ 3546.592374] __qdisc_destroy+0x51/0x150 [ 3546.592579] dev_shutdown+0x78/0x190 [ 3546.592784] unregister_netdevice_many_notify+0x23e/0x7f0 [ 3546.593074] default_device_exit_batch+0x2b3/0x320 [ 3546.593330] cleanup_net+0x288/0x400 [ 3546.593533] ? process_one_work+0x16c/0x4b0 [ 3546.593759] process_one_work+0x1d6/0x4b0 [ 3546.593979] worker_thread+0x1c1/0x3d0 [ 3546.594181] ? __pfx_worker_thread+0x10/0x10 [ 3546.594408] kthread+0xda/0x110 [ 3546.594580] ? __pfx_kthread+0x10/0x10 [ 3546.594788] ret_from_fork+0x31/0x50 [ 3546.594991] ? __pfx_kthread+0x10/0x10 [ 3546.595192] ret_from_fork_asm+0x1b/0x30 [ 3546.595407] [ 3546.595528] irq event stamp: 663675 [ 3546.595715] hardirqs last enabled at (663675): [] finish_task_switch.isra.0+0xf7/0x330 [ 3546.596220] hardirqs last disabled at (663674): [] __schedule+0x6ee/0xc70 [ 3546.596657] softirqs last enabled at (663640): [] fib6_run_gc+0x198/0x2e0 [ 3546.597099] softirqs last disabled at (663634): [] fib6_run_gc+0x1d7/0x2e0 [ 3546.597542] ---[ end trace 0000000000000000 ]--- xx__-> xx__-> echo $? 0 xx__->