[ 128.507428][ T1685] Mirror/redirect action on [ 131.748221][ C3] [ 131.748306][ C3] ================================ [ 131.748393][ C3] WARNING: inconsistent lock state [ 131.748473][ C3] 7.1.0-rc5-virtme #1 Not tainted [ 131.748556][ C3] -------------------------------- [ 131.748640][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 131.748748][ C3] ksoftirqd/3/33 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 131.748853][ C3] ffffffffc06247b8 (mirred_list_lock){+.?.}-{3:3}, at: tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 131.749020][ C3] {SOFTIRQ-ON-W} state was registered at: [ 131.749102][ C3] __lock_acquire+0x378/0xc10 [ 131.749186][ C3] lock_acquire.part.0+0xbc/0x260 [ 131.749264][ C3] _raw_spin_lock+0x33/0x40 [ 131.749355][ C3] tcf_mirred_init+0x844/0xd70 [act_mirred] [ 131.749456][ C3] tcf_action_init_1+0x428/0x6b0 [ 131.749537][ C3] tcf_action_init+0x3cf/0x890 [ 131.749614][ C3] tcf_exts_validate_ex+0x411/0x670 [ 131.749692][ C3] fl_change+0xed4/0x4e77 [cls_flower] [ 131.749770][ C3] tc_new_tfilter+0x875/0x21e0 [ 131.749847][ C3] rtnetlink_rcv_msg+0x6fd/0xbd0 [ 131.749930][ C3] netlink_rcv_skb+0x14e/0x3a0 [ 131.750010][ C3] netlink_unicast+0x486/0x750 [ 131.750089][ C3] netlink_sendmsg+0x735/0xc60 [ 131.750170][ C3] ____sys_sendmsg+0x419/0x850 [ 131.750249][ C3] ___sys_sendmsg+0x14e/0x1d0 [ 131.750330][ C3] __sys_sendmsg+0x145/0x1f0 [ 131.750407][ C3] do_syscall_64+0x117/0x590 [ 131.750487][ C3] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 131.750582][ C3] irq event stamp: 1405378 [ 131.750663][ C3] hardirqs last enabled at (1405378): [] _raw_spin_unlock_irqrestore+0x53/0x80 [ 131.750818][ C3] hardirqs last disabled at (1405377): [] _raw_spin_lock_irqsave+0x50/0x60 [ 131.750989][ C3] softirqs last enabled at (1404752): [] handle_softirqs+0x611/0x940 [ 131.751131][ C3] softirqs last disabled at (1404757): [] run_ksoftirqd+0x39/0x60 [ 131.751268][ C3] [ 131.751268][ C3] other info that might help us debug this: [ 131.751384][ C3] Possible unsafe locking scenario: [ 131.751384][ C3] [ 131.751501][ C3] CPU0 [ 131.751561][ C3] ---- [ 131.751619][ C3] lock(mirred_list_lock); [ 131.751697][ C3] [ 131.751757][ C3] lock(mirred_list_lock); [ 131.751836][ C3] [ 131.751836][ C3] *** DEADLOCK *** [ 131.751836][ C3] [ 131.751949][ C3] 1 lock held by ksoftirqd/3/33: [ 131.752028][ C3] #0: ffffffff9db8bc80 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x389/0x1020 [ 131.752174][ C3] [ 131.752174][ C3] stack backtrace: [ 131.752273][ C3] CPU: 3 UID: 0 PID: 33 Comm: ksoftirqd/3 Not tainted 7.1.0-rc5-virtme #1 PREEMPT(full) [ 131.752276][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 131.752278][ C3] Call Trace: [ 131.752280][ C3] [ 131.752281][ C3] dump_stack_lvl+0x6f/0xa0 [ 131.752290][ C3] print_usage_bug.part.0.cold+0xa9/0xb7 [ 131.752293][ C3] mark_lock_irq+0x4e3/0x9c0 [ 131.752294][ C3] ? kthread+0x367/0x460 [ 131.752298][ C3] ? save_trace+0x68/0x280 [ 131.752299][ C3] ? __lock_acquire+0x508/0xc10 [ 131.752301][ C3] mark_lock+0x1d7/0xa00 [ 131.752303][ C3] mark_usage+0x42/0x170 [ 131.752305][ C3] __lock_acquire+0x378/0xc10 [ 131.752306][ C3] ? rcu_is_watching+0x15/0xd0 [ 131.752309][ C3] lock_acquire.part.0+0xbc/0x260 [ 131.752311][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 131.752313][ C3] ? rcu_is_watching+0x15/0xd0 [ 131.752314][ C3] ? lock_acquire+0x134/0x160 [ 131.752316][ C3] _raw_spin_lock+0x33/0x40 [ 131.752318][ C3] ? tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 131.752320][ C3] tcf_mirred_release+0x1d/0x2e0 [act_mirred] [ 131.752321][ C3] tcf_action_rcu_free+0x74/0x1a0 [ 131.752323][ C3] ? rcu_do_batch+0x2b4/0x1020 [ 131.752325][ C3] rcu_do_batch+0x2b6/0x1020 [ 131.752327][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 131.752329][ C3] ? trace_rcu_batch_end+0x330/0x330 [ 131.752331][ C3] ? rcu_is_watching+0x15/0xd0 [ 131.752332][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 131.752336][ C3] ? trace_irq_disable.constprop.0+0x9b/0x180 [ 131.752337][ C3] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 131.752339][ C3] ? lockdep_hardirqs_on+0x8c/0x130 [ 131.752340][ C3] rcu_core+0x2bf/0x640 [ 131.752342][ C3] handle_softirqs+0x1d8/0x940 [ 131.752344][ C3] ? _local_bh_enable+0xd0/0xd0 [ 131.752346][ C3] ? rcu_is_watching+0x15/0xd0 [ 131.752348][ C3] run_ksoftirqd+0x39/0x60 [ 131.752349][ C3] smpboot_thread_fn+0x2fb/0x9b0 [ 131.752352][ C3] ? sort_range+0x20/0x20 [ 131.752354][ C3] kthread+0x367/0x460 [ 131.752356][ C3] ? trace_irq_enable.constprop.0+0x9b/0x180 [ 131.752357][ C3] ? kthread_affine_node+0x330/0x330 [ 131.752359][ C3] ret_from_fork+0x474/0x6b0 [ 131.752362][ C3] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 131.752364][ C3] ? __switch_to+0x5a3/0xe00 [ 131.752367][ C3] ? kthread_affine_node+0x330/0x330 [ 131.752368][ C3] ret_from_fork_asm+0x11/0x20 [ 131.752372][ C3]