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'
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.607339] GACT probability NOT on
# TEST: gact drop and ok (skip_hw) [ OK ]
[ 9.874575] Mirror/redirect action on
# TEST: mirred egress flower redirect (skip_hw) [ OK ]
# TEST: mirred egress flower mirror (skip_hw) [ OK ]
# TEST: mirred egress matchall mirror (skip_hw) [ OK ]
[ 12.392641] tc (862) used greatest stack depth: 11720 bytes left
[ 14.596164] ping (1000) used greatest stack depth: 11512 bytes left
# TEST: mirred_egress_to_ingress (skip_hw) [ OK ]
# [ 20.538094]
[ 20.538242] ============================================
[ 20.538570] WARNING: possible recursive locking detected
[ 20.538868] 6.8.0-rc2-virtme #1 Not tainted
[ 20.539128] --------------------------------------------
[ 20.539427] ksoftirqd/0/16 is trying to acquire lock:
[ 20.539701] ffff8d34c4e38cb0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 20.540152]
[ 20.540152] but task is already holding lock:
[ 20.540479] ffff8d34c4e380b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 20.540927]
[ 20.540927] other info that might help us debug this:
[ 20.541284] Possible unsafe locking scenario:
[ 20.541284]
[ 20.541605] CPU0
[ 20.541775] ----
[ 20.541919] lock(slock-AF_INET/1);
[ 20.542117] lock(slock-AF_INET/1);
[ 20.542315]
[ 20.542315] *** DEADLOCK ***
[ 20.542315]
[ 20.542662] May be due to missing lock nesting notation
[ 20.542662]
[ 20.543053] 8 locks held by ksoftirqd/0/16:
[ 20.543288] #0: ffffffffbd9678c0 (rcu_read_lock){....}-{1:2}, at: process_backlog+0x6f/0x260
[ 20.543766] #1: ffffffffbd9678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 20.544265] #2: ffff8d34c4e380b0 (slock-AF_INET/1){+.-.}-{2:2}, at: tcp_v4_rcv+0xdb5/0xef0
[ 20.544712] #3: ffffffffbd9678c0 (rcu_read_lock){....}-{1:2}, at: __ip_queue_xmit+0x3f/0x6f0
[ 20.545212] #4: ffffffffbd9678c0 (rcu_read_lock){....}-{1:2}, at: ip_finish_output2+0xc6/0xa20
[ 20.545677] #5: ffffffffbd967880 (rcu_read_lock_bh){....}-{1:2}, at: __dev_queue_xmit+0x6e/0x1180
[ 20.546182] #6: ffffffffbd9678c0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb+0x58/0x2c0
[ 20.546648] #7: ffffffffbd9678c0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish+0x6f/0x180
[ 20.547136]
[ 20.547136] stack backtrace:
[ 20.547375] CPU: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.8.0-rc2-virtme #1
[ 20.547780] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 20.548383] Call Trace:
[ 20.548524]
[ 20.548677] dump_stack_lvl+0x4b/0x80
[ 20.548887] __lock_acquire+0x1215/0x1750
[ 20.549134] ? sk_filter_trim_cap+0x53/0x360
[ 20.549375] lock_acquire+0xc1/0x2b0
[ 20.549574] ? tcp_v4_rcv+0xdb5/0xef0
[ 20.549806] ? sk_filter_trim_cap+0x11a/0x360
[ 20.550050] _raw_spin_lock_nested+0x2e/0x40
[ 20.550313] ? tcp_v4_rcv+0xdb5/0xef0
[ 20.550519] tcp_v4_rcv+0xdb5/0xef0
[ 20.550741] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 20.550992] ip_local_deliver_finish+0xaf/0x180
[ 20.551239] __netif_receive_skb_one_core+0x8b/0xa0
[ 20.551533] netif_receive_skb+0x87/0x2c0
[ 20.551763] tcf_mirred_to_dev+0x1f6/0x410 [act_mirred]
[ 20.552076] tcf_mirred_act+0xee/0x560 [act_mirred]
[ 20.552349] ? tcf_skbedit_act+0x1d6/0x410 [act_skbedit]
[ 20.552664] tcf_action_exec+0xaf/0x230
[ 20.552883] fl_classify+0x20e/0x260 [cls_flower]
[ 20.553172] ? fl_mask_lookup+0x17e/0x5a0 [cls_flower]
[ 20.553457] ? __pfx_usage_match+0x10/0x10
[ 20.553705] ? __bfs+0xf6/0x240
[ 20.553905] ? check_irq_usage+0x19c/0xc40
[ 20.554156] ? check_path.constprop.0+0x24/0x50
[ 20.554409] ? check_noncircular+0x81/0x150
[ 20.554662] ? __lock_acquire+0xa6e/0x1750
[ 20.554893] tcf_classify+0x17d/0x540
[ 20.555122] tc_run+0x9f/0x150
[ 20.555301] __dev_queue_xmit+0x311/0x1180
[ 20.555551] ? __ip_queue_xmit+0x1d5/0x6f0
[ 20.555783] ip_finish_output2+0x39f/0xa20
[ 20.556033] ? __ip_queue_xmit+0x1d5/0x6f0
[ 20.556274] __ip_queue_xmit+0x1d5/0x6f0
[ 20.556517] __tcp_transmit_skb+0xb65/0xd30
[ 20.556754] tcp_write_xmit+0x492/0x1410
[ 20.556992] __tcp_push_pending_frames+0x36/0xc0
[ 20.557252] tcp_rcv_state_process+0x4d3/0x11f0
[ 20.557536] ? tcp_v4_rcv+0xdb5/0xef0
[ 20.557747] ? tcp_v4_do_rcv+0x64/0x360
[ 20.557982] tcp_v4_do_rcv+0x64/0x360
[ 20.558189] tcp_v4_rcv+0xe4f/0xef0
[ 20.558384] ? process_backlog+0x6f/0x260
[ 20.558626] ip_protocol_deliver_rcu+0x4b/0x1e0
[ 20.558880] ip_local_deliver_finish+0xaf/0x180
[ 20.559134] __netif_receive_skb_one_core+0x8b/0xa0
[ 20.559405] process_backlog+0x7c/0x260
[ 20.559643] __napi_poll.constprop.0+0x2a/0x1e0
[ 20.559897] net_rx_action+0x2be/0x340
[ 20.560104] __do_softirq+0xcb/0x37a
[ 20.560334] ? __pfx_smpboot_thread_fn+0x10/0x10
[ 20.560615] run_ksoftirqd+0x2e/0x40
[ 20.560819] smpboot_thread_fn+0xdc/0x1d0
[ 20.561041] kthread+0xdd/0x110
[ 20.561247] ? __pfx_kthread+0x10/0x10
[ 20.561464] ret_from_fork+0x34/0x50
[ 20.561687] ? __pfx_kthread+0x10/0x10
[ 20.561893] ret_from_fork_asm+0x1b/0x30
[ 20.562141]
[ 37.718298] irq 4: nobody cared (try booting with the "irqpoll" option)
[ 37.718669] CPU: 1 PID: 221 Comm: perl Not tainted 6.8.0-rc2-virtme #1
[ 37.719023] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 37.719633] Call Trace:
[ 37.719772]
[ 37.719890] dump_stack_lvl+0x4b/0x80
[ 37.720099] __report_bad_irq+0x2b/0xc0
[ 37.720316] note_interrupt+0x2a7/0x2f0
[ 37.720533] handle_irq_event+0x72/0x80
[ 37.720748] handle_edge_irq+0x8b/0x230
[ 37.720959] __common_interrupt+0x4e/0x100
[ 37.721189] common_interrupt+0x81/0xa0
[ 37.721401]
[ 37.721521]
[ 37.721642] asm_common_interrupt+0x26/0x40
[ 37.721872] RIP: 0010:_raw_spin_unlock_irqrestore+0x39/0x50
[ 37.722176] Code: c7 18 53 48 89 f3 48 8b 74 24 10 e8 81 4c 39 ff 48 89 ef e8 39 7d 39 ff 80 e7 02 74 06 e8 cf a5 46 ff fb 65 ff 0d cf f8 3f 43 <74> 07 5b 5d c3 cc cc cc cc 0f 1f 44 00 00 5b 5d c3 cc cc cc cc 66
[ 37.723168] RSP: 0018:ffffb16f802dfd18 EFLAGS: 00000286
[ 37.723455] RAX: 0000000000000001 RBX: 0000000000000282 RCX: 0000000000000017
[ 37.723845] RDX: ffffffffbc7c7dc2 RSI: ffffffffbcc2f671 RDI: ffffffffbcc2f671
[ 37.724237] RBP: ffffffffbedfdf40 R08: 0000000000000000 R09: 0000000000000000
[ 37.724629] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
[ 37.725017] R13: 0000000000000000 R14: ffff8d34c12a8001 R15: ffff8d34c21f0000
[ 37.725407] ? rpm_suspend+0x232/0x700
[ 37.725619] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 37.725890] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 37.726166] ? _raw_spin_unlock_irqrestore+0x31/0x50
[ 37.726439] uart_write+0x103/0x1d0
[ 37.726641] n_tty_write+0x1a9/0x530
[ 37.726843] ? __pfx_woken_wake_function+0x10/0x10
[ 37.727114] file_tty_write.constprop.0+0x167/0x340
[ 37.727389] vfs_write+0x390/0x550
[ 37.727583] ksys_write+0x69/0xf0
[ 37.727773] do_syscall_64+0xcc/0x1e0
[ 37.727976] entry_SYSCALL_64_after_hwframe+0x6f/0x77
[ 37.728258] RIP: 0033:0x7ff735ee8957
[ 37.728465] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
[ 37.729456] RSP: 002b:00007ffd3716ee18 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 37.729865] RAX: ffffffffffffffda RBX: 000055b852963ef0 RCX: 00007ff735ee8957
[ 37.730259] RDX: 0000000000000001 RSI: 000055b852963ef0 RDI: 0000000000000001
[ 37.730646] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000
[ 37.731038] R10: 0000000000000001 R11: 0000000000000246 R12: 000055b8529504e0
[ 37.731429] R13: 000055b8529312a0 R14: 0000000000000001 R15: 000055b8529504e0
[ 37.731820]
[ 37.731946] handlers:
[ 37.732074] [<0000000015b4ddc6>] serial8250_interrupt
[ 37.732350] Disabling IRQ #4
[ 42.696347] ncat (1139) used greatest stack depth: 10672 bytes left
TEST: mirred_egress_to_ingress_tcp (skip_hw) [ OK ]
# INFO: Could not test offloaded functionality
ok 1 selftests:
WAIT TIMEOUT stdout
Ctrl-C stdout
Ctrl-C stdout
WAIT TIMEOUT stdout