make -C tools/testing/selftests TARGETS=net/forwarding TEST_PROGS=tc_actioons.sh TEST_GEN_PROGS="" run_tests
make: Entering directory '/home/virtme/testing-4/tools/testing/selftests'
make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
make[1]: Entering directory '/home/virtme/testing-4/tools/testing/selftests/net/forwarding'
TAP version 13
1..1
# timeout set to 10800
# selftests: net/forwarding: tc_actions.sh
# TEST: gact drop and ok (skip_hw) [ OK ]
# TEST: mirred egress flower redirect (skip_hw) [ OK ]
# TEST: mirred egress flower mirror (skip_hw) [ OK ]
# TEST: mirred egress matchall mirror (skip_hw) [ OK ]
[ 2533.501490][T11356] ping (11356) used greatest stack depth: 23352 bytes left
# TEST: mirred_egress_to_ingress (skip_hw) [ OK ]
# [ 2538.827204][ C3]
[ 2538.827374][ C3] ============================================
[ 2538.827704][ C3] WARNING: possible recursive locking detected
[ 2538.828037][ C3] 6.8.0-rc2-virtme #1 Not tainted
[ 2538.828303][ C3] --------------------------------------------
[ 2538.828632][ C3] swapper/3/0 is trying to acquire lock:
[ 2538.828924][ C3] ffff888020241b70 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0x2161/0x29c0
[ 2538.829412][ C3]
[ 2538.829412][ C3] but task is already holding lock:
[ 2538.829794][ C3] ffff888020240e30 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0x2161/0x29c0
[ 2538.830270][ C3]
[ 2538.830270][ C3] other info that might help us debug this:
[ 2538.830680][ C3] Possible unsafe locking scenario:
[ 2538.830680][ C3]
[ 2538.831066][ C3] CPU0
[ 2538.831247][ C3] ----
[ 2538.831439][ C3] lock(slock-AF_INET/1);
[ 2538.831683][ C3] lock(slock-AF_INET/1);
[ 2538.831924][ C3]
[ 2538.831924][ C3] *** DEADLOCK ***
[ 2538.831924][ C3]
[ 2538.832368][ C3] May be due to missing lock nesting notation
[ 2538.832368][ C3]
[ 2538.832806][ C3] 8 locks held by swapper/3/0:
[ 2538.833062][ C3] #0: ffffffff9b5447e0 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x1ed/0x5e0
[ 2538.833559][ C3] #1: ffffffff9b5447e0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x1f5/0x450
[ 2538.834089][ C3] #2: ffff888020240e30 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0x2161/0x29c0
[ 2538.834583][ C3] #3: ffffffff9b5447e0 (rcu_read_lock){....}-{1:2}, at: __ip_queue_xmit+0x65/0x1910
[ 2538.835076][ C3] #4: ffffffff9b5447e0 (rcu_read_lock){....}-{1:2}, at: ip_finish_output2+0x262/0x18e0
[ 2538.835585][ C3] #5: ffffffff9b544780 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x1c1/0x1ca0
[ 2538.836096][ C3] #6: ffffffff9b5447e0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb_internal+0x84/0x300
[ 2538.836636][ C3] #7: ffffffff9b5447e0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x1f5/0x450
[ 2538.837161][ C3]
[ 2538.837161][ C3] stack backtrace:
[ 2538.837488][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.8.0-rc2-virtme #1
[ 2538.837884][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 2538.838529][ C3] Call Trace:
[ 2538.838704][ C3]
[ 2538.838874][ C3] dump_stack_lvl+0x64/0xb0
[ 2538.839117][ C3] validate_chain+0x525/0xa00
[ 2538.839373][ C3] ? __pfx_validate_chain+0x10/0x10
[ 2538.839644][ C3] ? hlock_class+0x4e/0x130
[ 2538.839892][ C3] ? mark_lock+0x38/0x3e0
[ 2538.840122][ C3] __lock_acquire+0xb67/0x1610
[ 2538.840374][ C3] ? lock_downgrade+0xa0/0x110
[ 2538.840635][ C3] ? mark_lock+0x38/0x3e0
[ 2538.840884][ C3] lock_acquire.part.0+0xe5/0x330
[ 2538.841158][ C3] ? tcp_v4_rcv+0x2161/0x29c0
[ 2538.841405][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2538.841715][ C3] ? __pfx_sk_filter_trim_cap+0x10/0x10
[ 2538.842009][ C3] ? lock_acquire+0x1c1/0x220
[ 2538.842276][ C3] ? tcp_v4_rcv+0x2161/0x29c0
[ 2538.842521][ C3] _raw_spin_lock_nested+0x33/0x80
[ 2538.842791][ C3] ? tcp_v4_rcv+0x2161/0x29c0
[ 2538.843047][ C3] tcp_v4_rcv+0x2161/0x29c0
[ 2538.843291][ C3] ? __pfx_tcp_v4_rcv+0x10/0x10
[ 2538.843555][ C3] ? __pfx_raw_v4_input+0x10/0x10
[ 2538.843825][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2538.844130][ C3] ip_protocol_deliver_rcu+0x93/0x360
[ 2538.844430][ C3] ip_local_deliver_finish+0x2ae/0x450
[ 2538.844723][ C3] ip_local_deliver+0x19d/0x480
[ 2538.844984][ C3] ? __pfx_ip_local_deliver+0x10/0x10
[ 2538.845275][ C3] ? ip_rcv_finish_core.constprop.0+0x522/0x1300
[ 2538.845606][ C3] ip_rcv+0x564/0x740
[ 2538.845827][ C3] ? __pfx_ip_rcv+0x10/0x10
[ 2538.846073][ C3] ? lock_acquire.part.0+0xe5/0x330
[ 2538.846363][ C3] ? netif_receive_skb_internal+0x84/0x300
[ 2538.846677][ C3] ? __pfx_ip_rcv+0x10/0x10
[ 2538.846920][ C3] __netif_receive_skb_one_core+0x166/0x1b0
[ 2538.847240][ C3] ? __pfx___netif_receive_skb_one_core+0x10/0x10
[ 2538.847571][ C3] ? mark_held_locks+0xa5/0xf0
[ 2538.847824][ C3] ? lock_acquire+0x1c1/0x220
[ 2538.848070][ C3] ? netif_receive_skb_internal+0x84/0x300
[ 2538.848385][ C3] netif_receive_skb_internal+0xb0/0x300
[ 2538.848695][ C3] ? __pfx_netif_receive_skb_internal+0x10/0x10
[ 2538.849033][ C3] ? __copy_skb_header+0xaf/0x490
[ 2538.849306][ C3] ? __skb_clone+0x57a/0x760
[ 2538.849566][ C3] netif_receive_skb+0x55/0x280
[ 2538.849832][ C3] tcf_mirred_to_dev+0x444/0xd70 [act_mirred]
[ 2538.850157][ C3] ? __pfx_tcf_skbedit_act+0x10/0x10 [act_skbedit]
[ 2538.850509][ C3] tcf_mirred_act+0x338/0x780 [act_mirred]
[ 2538.850824][ C3] tcf_action_exec.part.0+0x112/0x3d0
[ 2538.851115][ C3] fl_classify+0x4dc/0x650 [cls_flower]
[ 2538.851418][ C3] ? __pfx_fl_classify+0x10/0x10 [cls_flower]
[ 2538.851742][ C3] ? __pfx_usage_match+0x10/0x10
[ 2538.852004][ C3] ? check_irq_usage+0x27e/0x850
[ 2538.852277][ C3] ? __pfx_check_irq_usage+0x10/0x10
[ 2538.852563][ C3] ? __bfs+0x247/0x650
[ 2538.852791][ C3] ? __pfx_hlock_conflict+0x10/0x10
[ 2538.853079][ C3] ? check_path.constprop.0+0x24/0x50
[ 2538.853367][ C3] ? check_noncircular+0x14e/0x3e0
[ 2538.853647][ C3] ? hlock_class+0x4e/0x130
[ 2538.853895][ C3] ? __pfx_check_noncircular+0x10/0x10
[ 2538.854191][ C3] ? __pfx_ip_rcv+0x10/0x10
[ 2538.854431][ C3] ? get_stack_info_noinstr+0x18/0x110
[ 2538.854730][ C3] ? get_stack_info_noinstr+0x18/0x110
[ 2538.855021][ C3] __tcf_classify+0x329/0x7d0
[ 2538.855282][ C3] tcf_classify+0x283/0x930
[ 2538.855535][ C3] ? __pfx_tcf_classify+0x10/0x10
[ 2538.855810][ C3] ? lock_acquire.part.0+0xe5/0x330
[ 2538.856088][ C3] ? __dev_queue_xmit+0x1c1/0x1ca0
[ 2538.856374][ C3] tc_run+0x2e4/0x5d0
[ 2538.856595][ C3] ? __pfx_tc_run+0x10/0x10
[ 2538.856839][ C3] ? lock_acquire+0x1c1/0x220
[ 2538.857100][ C3] ? __dev_queue_xmit+0x1c1/0x1ca0
[ 2538.857378][ C3] ? __dev_queue_xmit+0x1c1/0x1ca0
[ 2538.857646][ C3] __dev_queue_xmit+0x8eb/0x1ca0
[ 2538.857908][ C3] ? mark_lock+0x38/0x3e0
[ 2538.858146][ C3] ? mark_held_locks+0xa5/0xf0
[ 2538.858398][ C3] ? __pfx___dev_queue_xmit+0x10/0x10
[ 2538.858681][ C3] ? neigh_hh_output+0x348/0x590
[ 2538.858958][ C3] ? vrf_ip_local_out+0x781/0x860 [vrf]
[ 2538.859265][ C3] ip_finish_output2+0x786/0x18e0
[ 2538.859540][ C3] ? __pfx_ip_finish_output2+0x10/0x10
[ 2538.859829][ C3] ? __ip_finish_output+0x3dd/0x770
[ 2538.860119][ C3] ip_output+0x16b/0x4f0
[ 2538.860351][ C3] ? __pfx_ip_output+0x10/0x10
[ 2538.860603][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2538.860901][ C3] ? ip_local_out+0x114/0x3b0
[ 2538.861170][ C3] __ip_queue_xmit+0x672/0x1910
[ 2538.861439][ C3] ? __skb_clone+0x57a/0x760
[ 2538.861690][ C3] __tcp_transmit_skb+0x22b1/0x2d20
[ 2538.861982][ C3] ? __pfx___tcp_transmit_skb+0x10/0x10
[ 2538.862287][ C3] ? tcp_small_queue_check.isra.0+0xe9/0x380
[ 2538.862607][ C3] tcp_write_xmit+0xe42/0x24c0
[ 2538.862874][ C3] ? ipv4_mtu+0x37/0x360
[ 2538.863106][ C3] ? __pfx_tcp_write_xmit+0x10/0x10
[ 2538.863400][ C3] ? __pfx_tcp_current_mss+0x10/0x10
[ 2538.863689][ C3] __tcp_push_pending_frames+0x96/0x320
[ 2538.863988][ C3] tcp_rcv_state_process+0x862/0x21c0
[ 2538.864283][ C3] ? __pfx_tcp_rcv_state_process+0x10/0x10
[ 2538.864592][ C3] ? find_held_lock+0x33/0x120
[ 2538.864856][ C3] ? tcp_v4_rcv+0x2161/0x29c0
[ 2538.865108][ C3] ? hlock_class+0x4e/0x130
[ 2538.865360][ C3] tcp_v4_do_rcv+0x1ac/0x8e0
[ 2538.865605][ C3] ? __pfx_tcp_v4_do_rcv+0x10/0x10
[ 2538.865881][ C3] tcp_v4_rcv+0x2362/0x29c0
[ 2538.866135][ C3] ? __pfx_tcp_v4_rcv+0x10/0x10
[ 2538.866394][ C3] ? __pfx_raw_v4_input+0x10/0x10
[ 2538.866658][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 2538.866968][ C3] ip_protocol_deliver_rcu+0x93/0x360
[ 2538.867253][ C3] ip_local_deliver_finish+0x2ae/0x450
[ 2538.867554][ C3] ip_local_deliver+0x19d/0x480
[ 2538.867820][ C3] ? __pfx_ip_local_deliver+0x10/0x10
[ 2538.868110][ C3] ? ip_rcv_finish_core.constprop.0+0x522/0x1300
[ 2538.868457][ C3] ip_rcv+0x564/0x740
[ 2538.868675][ C3] ? __pfx_ip_rcv+0x10/0x10
[ 2538.868918][ C3] ? lock_acquire.part.0+0xe5/0x330
[ 2538.869197][ C3] ? process_backlog+0x1ed/0x5e0
[ 2538.869457][ C3] ? __pfx_ip_rcv+0x10/0x10
[ 2538.869697][ C3] __netif_receive_skb_one_core+0x166/0x1b0
[ 2538.870005][ C3] ? __pfx___netif_receive_skb_one_core+0x10/0x10
[ 2538.870340][ C3] ? __pfx_do_raw_spin_trylock+0x10/0x10
[ 2538.870658][ C3] ? lock_acquire+0x1c1/0x220
[ 2538.870914][ C3] ? process_backlog+0x1ed/0x5e0
[ 2538.871182][ C3] process_backlog+0xd3/0x5e0
[ 2538.871440][ C3] __napi_poll.constprop.0+0xa2/0x450
[ 2538.871731][ C3] net_rx_action+0x440/0xb40
[ 2538.871986][ C3] ? __pfx_net_rx_action+0x10/0x10
[ 2538.872265][ C3] ? ktime_get+0x30/0x190
[ 2538.872509][ C3] ? hrtimer_interrupt+0x230/0x770
[ 2538.872780][ C3] ? __pfx_rebalance_domains+0x10/0x10
[ 2538.873084][ C3] ? clockevents_program_event+0x1ea/0x300
[ 2538.873397][ C3] __do_softirq+0x1b9/0x7ff
[ 2538.873649][ C3] irq_exit_rcu+0x98/0xc0
[ 2538.873885][ C3] sysvec_apic_timer_interrupt+0x75/0x80
[ 2538.874187][ C3]
[ 2538.874344][ C3]
[ 2538.874508][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 2538.874833][ C3] RIP: 0010:default_idle+0xf/0x20
[ 2538.875107][ C3] 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 23 a2 41 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[ 2538.876108][ C3] RSP: 0018:ffffc9000015fdf8 EFLAGS: 00000242
[ 2538.876450][ C3] RAX: 0000000002080aad RBX: 1ffff9200002bfc1 RCX: ffffffff9a246992
[ 2538.876864][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff97c968b6
[ 2538.877276][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006bfeea4
[ 2538.877694][ C3] R10: ffff888035ff7523 R11: ffff888035ffc348 R12: 0000000000000000
[ 2538.878132][ C3] R13: ffff888001d1cc40 R14: dffffc0000000000 R15: 0000000000000000
[ 2538.878559][ C3] ? ct_kernel_exit.constprop.0+0xc2/0xe0
[ 2538.878863][ C3] ? cpuidle_idle_call+0x1f6/0x280
[ 2538.879142][ C3] default_idle_call+0x69/0xa0
[ 2538.879404][ C3] cpuidle_idle_call+0x1f6/0x280
[ 2538.879675][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10
[ 2538.879963][ C3] ? tsc_verify_tsc_adjust+0x65/0x2b0
[ 2538.880255][ C3] do_idle+0xfb/0x160
[ 2538.880468][ C3] cpu_startup_entry+0x55/0x60
[ 2538.880720][ C3] start_secondary+0x21c/0x2b0
[ 2538.880989][ C3] ? __pfx_start_secondary+0x10/0x10
[ 2538.881277][ C3] secondary_startup_64_no_verify+0x16d/0x17b
[ 2538.881605][ C3]
[ 2538.935882][T11400] ncat (11400) used greatest stack depth: 21056 bytes left
[ 2540.281145][ C1] clocksource: Long readout interval, skipping watchdog check: cs_nsec: 1418015154 wd_nsec: 1418014657
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-4/tools/testing/selftests/net/forwarding'
make: Leaving directory '/home/virtme/testing-4/tools/testing/selftests'
xx__-> echo $?
0
xx__->