[ 98.121787][ T1305] Mirror/redirect action on [ 101.368013][ C0] [ 101.368094][ C0] ================================ [ 101.368186][ C0] WARNING: inconsistent lock state [ 101.368266][ C0] 7.1.0-rc5-virtme #1 Not tainted [ 101.368350][ C0] -------------------------------- [ 101.368436][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 101.368534][ C0] ksoftirqd/0/14 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 101.368628][ C0] ffffffffc02f97b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 101.368792][ C0] {SOFTIRQ-ON-W} state was registered at: [ 101.368869][ C0] __lock_acquire+0x378/0xc10 [ 101.368951][ C0] lock_acquire.part.0+0xbc/0x260 [ 101.369035][ C0] _raw_spin_lock+0x33/0x40 [ 101.369116][ C0] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 101.369218][ C0] tcf_action_init_1+0x428/0x6b0 [ 101.369298][ C0] tcf_action_init+0x3cf/0x890 [ 101.369373][ C0] tcf_exts_validate_ex+0x411/0x670 [ 101.369449][ C0] fl_change+0xed4/0x4e77 [cls_flower] [ 101.369525][ C0] tc_new_tfilter+0x875/0x21e0 [ 101.369599][ C0] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 101.369677][ C0] netlink_rcv_skb+0x14e/0x3a0 [ 101.369754][ C0] netlink_unicast+0x486/0x750 [ 101.369828][ C0] netlink_sendmsg+0x735/0xc60 [ 101.369903][ C0] ____sys_sendmsg+0x419/0x850 [ 101.369978][ C0] ___sys_sendmsg+0x14e/0x1d0 [ 101.370052][ C0] __sys_sendmsg+0x145/0x1f0 [ 101.370131][ C0] do_syscall_64+0x117/0x590 [ 101.370212][ C0] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 101.370311][ C0] irq event stamp: 1486894 [ 101.370388][ C0] hardirqs last enabled at (1486894): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 101.370544][ C0] hardirqs last disabled at (1486893): [] _raw_spin_lock_irqsave+0x50/0x60 [ 101.370691][ C0] softirqs last enabled at (1485406): [] handle_softirqs+0x611/0x940 [ 101.370829][ C0] softirqs last disabled at (1485409): [] run_ksoftirqd+0x39/0x60 [ 101.370967][ C0] [ 101.370967][ C0] other info that might help us debug this: [ 101.371079][ C0] Possible unsafe locking scenario: [ 101.371079][ C0] [ 101.371197][ C0] CPU0 [ 101.371257][ C0] ---- [ 101.371315][ C0] lock(mirred_list_lock); [ 101.371391][ C0] [ 101.371447][ C0] lock(mirred_list_lock); [ 101.371522][ C0] [ 101.371522][ C0] *** DEADLOCK *** [ 101.371522][ C0] [ 101.371635][ C0] 1 lock held by ksoftirqd/0/14: [ 101.371713][ C0] #0: ffffffffab18bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 101.371853][ C0] [ 101.371853][ C0] stack backtrace: [ 101.371951][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 101.371954][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 101.371956][ C0] Call Trace: [ 101.371957][ C0] [ 101.371959][ C0] dump_stack_lvl+0x6f/0xa0 [ 101.371964][ C0] print_usage_bug.part.0.cold+0xa9/0xb7 [ 101.371967][ C0] mark_lock_irq+0x4e3/0x9c0 [ 101.371968][ C0] ? kthread+0x367/0x460 [ 101.371971][ C0] ? save_trace+0x68/0x280 [ 101.371973][ C0] ? __lock_acquire+0x508/0xc10 [ 101.371974][ C0] mark_lock+0x1d7/0xa00 [ 101.371976][ C0] mark_usage+0x42/0x170 [ 101.371978][ C0] __lock_acquire+0x378/0xc10 [ 101.371979][ C0] ? rcu_is_watching+0x15/0xd0 [ 101.371981][ C0] lock_acquire.part.0+0xbc/0x260 [ 101.371983][ C0] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 101.371985][ C0] ? rcu_is_watching+0x15/0xd0 [ 101.371986][ C0] ? lock_acquire+0x134/0x160 [ 101.371988][ C0] _raw_spin_lock+0x33/0x40 [ 101.371989][ C0] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 101.371991][ C0] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 101.371992][ C0] tcf_action_rcu_free+0x74/0x1a0 [ 101.371994][ C0] ? rcu_do_batch+0x2b4/0x1020 [ 101.371995][ C0] rcu_do_batch+0x2b6/0x1020 [ 101.371998][ C0] ? trace_rcu_batch_end+0x330/0x330 [ 101.372000][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 101.372003][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 101.372005][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 101.372006][ C0] ? lockdep_hardirqs_on+0x8c/0x130 [ 101.372008][ C0] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 101.372009][ C0] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 101.372010][ C0] rcu_core+0x2bf/0x640 [ 101.372012][ C0] handle_softirqs+0x1d8/0x940 [ 101.372014][ C0] ? _local_bh_enable+0xd0/0xd0 [ 101.372015][ C0] ? perf_trace_sched_switch+0x7d0/0x7d0 [ 101.372018][ C0] ? rcu_is_watching+0x15/0xd0 [ 101.372020][ C0] ? rcu_is_watching+0x15/0xd0 [ 101.372021][ C0] run_ksoftirqd+0x39/0x60 [ 101.372023][ C0] smpboot_thread_fn+0x2fb/0x9b0 [ 101.372026][ C0] ? sort_range+0x20/0x20 [ 101.372027][ C0] kthread+0x367/0x460 [ 101.372029][ C0] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 101.372030][ C0] ? kthread_affine_node+0x330/0x330 [ 101.372032][ C0] ret_from_fork+0x474/0x6b0 [ 101.372035][ C0] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 101.372037][ C0] ? __switch_to+0x5a3/0xe00 [ 101.372039][ C0] ? kthread_affine_node+0x330/0x330 [ 101.372041][ C0] ret_from_fork_asm+0x11/0x20 [ 101.372045][ C0]