make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=tc_actioons.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-2/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
[ 1.769492] readlink (187) used greatest stack depth: 11864 bytes left
make[1]: Entering directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: tc_actions.sh
[ 7.995002] GACT probability NOT on
# TEST: gact drop and ok (skip_hw) [ OK ]
[ 10.415677] Mirror/redirect action on
# TEST: mirred egress flower redirect (skip_hw) [ OK ]
[ 11.631993] tc (682) used greatest stack depth: 11680 bytes left
# TEST: mirred egress flower mirror (skip_hw) [ OK ]
# TEST: mirred egress matchall mirror (skip_hw) [ OK ]
[ 13.001433] tc (809) used greatest stack depth: 10776 bytes left
# TEST: mirred_egress_to_ingress (skip_hw) [ OK ]
# [ 16.875920]
[ 16.876037] ============================================
[ 16.876336] WARNING: possible recursive locking detected
[ 16.876622] 6.8.0-rc2-virtme #1 Not tainted
[ 16.876856] --------------------------------------------
[ 16.877145] swapper/3/0 is trying to acquire lock:
[ 16.877407] ffff987b825a8cb0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdba/0xf00
[ 16.877831]
[ 16.877831] but task is already holding lock:
[ 16.878136] ffff987b825a80b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdba/0xf00
[ 16.878553]
[ 16.878553] other info that might help us debug this:
[ 16.878907] Possible unsafe locking scenario:
[ 16.878907]
[ 16.879219] CPU0
[ 16.879359] ----
[ 16.879493] lock(slock-AF_INET/1);
[ 16.879685] lock(slock-AF_INET/1);
[ 16.879893]
[ 16.879893] *** DEADLOCK ***
[ 16.879893]
[ 16.880197] May be due to missing lock nesting notation
[ 16.880197]
[ 16.880572] 8 locks held by swapper/3/0:
[ 16.880793] #0: ffffffffab3678c0 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x6f/0x260
[ 16.881247] #1: ffffffffab3678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 16.881724] #2: ffff987b825a80b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdba/0xf00
[ 16.882160] #3: ffffffffab3678c0 (rcu_read_lock){....}-{1:2}, at: __ip_queue_xmit+0x3f/0x6f0
[ 16.882617] #4: ffffffffab3678c0 (rcu_read_lock){....}-{1:2}, at: ip_finish_output2+0xc6/0xa20
[ 16.883073] #5: ffffffffab367880 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x6e/0x1180
[ 16.883549] #6: ffffffffab3678c0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb+0x58/0x2c0
[ 16.884010] #7: ffffffffab3678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 16.884478]
[ 16.884478] stack backtrace:
[ 16.884712] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.8.0-rc2-virtme #1
[ 16.885074] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 16.885649] Call Trace:
[ 16.885796]
[ 16.885922] dump_stack_lvl+0x4b/0x80
[ 16.886126] __lock_acquire+0x1215/0x1750
[ 16.886341] ? sk_filter_trim_cap+0x53/0x360
[ 16.886581] lock_acquire+0xc1/0x2b0
[ 16.886778] ? tcp_v4_rcv+0xdba/0xf00
[ 16.886986] ? sk_filter_trim_cap+0x11a/0x360
[ 16.887221] _raw_spin_lock_nested+0x2e/0x40
[ 16.887465] ? tcp_v4_rcv+0xdba/0xf00
[ 16.887669] tcp_v4_rcv+0xdba/0xf00
[ 16.887872] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 16.888113] ip_local_deliver_finish+0xaf/0x180
[ 16.888358] __netif_receive_skb_one_core+0x8b/0xa0
[ 16.888626] netif_receive_skb+0x87/0x2c0
[ 16.888844] tcf_mirred_to_dev+0x1f6/0x410 [act_mirred]
[ 16.889131] tcf_mirred_act+0xee/0x560 [act_mirred]
[ 16.889402] ? tcf_skbedit_act+0x1d6/0x410 [act_skbedit]
[ 16.889691] tcf_action_exec+0xac/0x230
[ 16.889902] fl_classify+0x20e/0x260 [cls_flower]
[ 16.890164] ? __bfs+0xf3/0x240
[ 16.890353] ? check_irq_usage+0x19c/0xc40
[ 16.890576] ? check_path.constprop.0+0x24/0x50
[ 16.890819] ? check_noncircular+0x81/0x150
[ 16.891054] ? check_irq_usage+0x19c/0xc40
[ 16.891268] ? __lock_acquire+0xa6e/0x1750
[ 16.891499] tcf_classify+0x17a/0x540
[ 16.891696] tc_run+0x9f/0x150
[ 16.891876] __dev_queue_xmit+0x311/0x1180
[ 16.892102] ? mark_held_locks+0x49/0x80
[ 16.892309] ? eth_header+0x2a/0xc0
[ 16.892508] ip_finish_output2+0x22d/0xa20
[ 16.892735] ? __ip_queue_xmit+0x1d5/0x6f0
[ 16.892966] __ip_queue_xmit+0x1d5/0x6f0
[ 16.893182] __tcp_transmit_skb+0xb65/0xd30
[ 16.893414] tcp_write_xmit+0x492/0x1410
[ 16.893625] __tcp_push_pending_frames+0x36/0xc0
[ 16.893866] tcp_rcv_state_process+0x4db/0x1230
[ 16.894124] ? lock_acquire+0xc1/0x2b0
[ 16.894337] ? tcp_v4_rcv+0xdba/0xf00
[ 16.894543] ? tcp_v4_do_rcv+0x85/0x3a0
[ 16.894754] ? lock_is_held_type+0x9f/0x120
[ 16.894975] tcp_v4_do_rcv+0x85/0x3a0
[ 16.895188] tcp_v4_rcv+0xe54/0xf00
[ 16.895389] ? process_backlog+0x6f/0x260
[ 16.895603] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 16.895858] ip_local_deliver_finish+0xaf/0x180
[ 16.896095] __netif_receive_skb_one_core+0x8b/0xa0
[ 16.896355] process_backlog+0x7c/0x260
[ 16.896571] __napi_poll.constprop.0+0x27/0x1e0
[ 16.896808] net_rx_action+0x2be/0x340
[ 16.897012] __do_softirq+0xc8/0x37a
[ 16.897213] irq_exit_rcu+0x7f/0xa0
[ 16.897413] sysvec_apic_timer_interrupt+0x78/0x90
[ 16.897662]
[ 16.897788]
[ 16.897917] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 16.898192] RIP: 0010:default_idle+0xf/0x20
[ 16.898423] Code: 4c 01 c7 4c 29 c2 e9 72 ff ff ff 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d d3 2d 40 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[ 16.899366] RSP: 0018:ffffbe15800b3ee8 EFLAGS: 00000246
[ 16.899650] RAX: 000000000006c495 RBX: ffff987b8133c280 RCX: 4000000000000000
[ 16.900021] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa99a8863
[ 16.900422] RBP: 0000000000000003 R08: 0000000000000001 R09: 0000000000000001
[ 16.900784] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
[ 16.901165] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[ 16.901534] ? do_idle+0x1e3/0x220
[ 16.901726] default_idle_call+0x83/0x180
[ 16.901942] do_idle+0x1e3/0x220
[ 16.902159] ? finish_task_switch.isra.0+0xf7/0x330
[ 16.902428] cpu_startup_entry+0x2a/0x30
[ 16.902648] start_secondary+0xfc/0x100
[ 16.902864] secondary_startup_64_no_verify+0x16d/0x17b
[ 16.903138]
[ 33.146596] ncat (1051) used greatest stack depth: 10664 bytes left
TEST: mirred_egress_to_ingress_tcp (skip_hw) [ OK ]
# INFO: Could not test offloaded functionality
ok 1 selftests: net/forwarding: tc_actions.sh
make[1]: Leaving directory '/home/virtme/testing-2/tools/testing/selftests/net/forwarding'
make: Leaving directory '/home/virtme/testing-2/tools/testing/selftests'
xx__-> echo $?
0
xx__->