====================================== | xx__-> echo $? | 0 | xx__-> [ 26.091363][ C2] BUG: spinlock bad magic on CPU#2, kworker/u16:0/11 | [ 26.091589][ C2] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:0/11, .owner_cpu: 2 [ 26.092126][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 26.092455][ C2] Workqueue: netns cleanup_net [ 26.092607][ C2] Call Trace: [ 26.092722][ C2] <IRQ> [ 26.092803][ C2] dump_stack_lvl (lib/dump_stack.c:122) [ 26.092952][ C2] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 26.093098][ C2] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 26.093243][ C2] net_tx_action (./include/net/sch_generic.h:226 ./include/net/sch_generic.h:217 ./include/net/pkt_sched.h:128 ./include/net/pkt_sched.h:124 net/core/dev.c:5323) [ 26.093390][ C2] handle_softirqs (kernel/softirq.c:554) [ 26.093540][ C2] ? dev_deactivate_many (./include/linux/bottom_half.h:33 ./include/linux/netdevice.h:4448 net/sched/sch_generic.c:571 net/sched/sch_generic.c:1363) [ 26.093692][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 26.093799][ C2] </IRQ> [ 26.093875][ C2] <TASK> [ 26.093946][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 26.094087][ C2] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 26.094232][ C2] __dev_close_many (net/core/dev.c:1547) [ 26.094378][ C2] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 26.094520][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 26.094666][ C2] dev_close_many (net/core/dev.c:1585) [ 26.094808][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:466 kernel/locking/lockdep.c:5761) [ 26.094953][ C2] ? default_device_exit_batch (net/core/dev.c:11876) [ 26.095098][ C2] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 26.095239][ C2] ? fou_exit_net (net/ipv4/fou_core.c:1215) [ 26.095385][ C2] ? __mutex_trylock_common (./arch/x86/include/asm/atomic64_64.h:101 ./include/linux/atomic/atomic-arch-fallback.h:4296 ./include/linux/atomic/atomic-long.h:1482 ./include/linux/atomic/atomic-instrumented.h:4458 kernel/locking/mutex.c:129) [ 26.095529][ C2] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 26.095709][ C2] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 26.095852][ C2] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 52)) [ 26.095992][ C2] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 26.096139][ C2] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 26.096315][ C2] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 26.096459][ C2] ? find_held_lock (kernel/locking/lockdep.c:5249) [ 26.096607][ C2] ? mutex_is_locked (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-long.h:38 ./include/linux/atomic/atomic-instrumented.h:3189 kernel/locking/mutex.c:81 kernel/locking/mutex.c:91) [ 26.096749][ C2] ? mutex_is_locked (./arch/x86/include/asm/atomic64_64.h:15 ./include/linux/atomic/atomic-arch-fallback.h:2583 ./include/linux/atomic/atomic-long.h:38 ./include/linux/atomic/atomic-instrumented.h:3189 kernel/locking/mutex.c:81 kernel/locking/mutex.c:91) [ 26.096887][ C2] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 26.097029][ C2] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 26.097213][ C2] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 26.097390][ C2] default_device_exit_batch (net/core/dev.c:11890) [ 26.097531][ C2] ? __pfx_default_device_exit_batch (net/core/dev.c:11865) [ 26.097707][ C2] ? ops_exit_list (net/core/net_namespace.c:172 (discriminator 3)) [ 26.097851][ C2] cleanup_net (net/core/net_namespace.c:625 (discriminator 3)) [ 26.097993][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 26.098135][ C2] ? __pfx_cleanup_net (net/core/net_namespace.c:570) [ 26.098281][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 26.098426][ C2] ? process_one_work (kernel/workqueue.c:3207) [ 26.098569][ C2] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 26.098709][ C2] ? process_one_work (kernel/workqueue.c:3207) [ 26.098859][ C2] process_one_work (kernel/workqueue.c:3231) [ 26.099003][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 26.099143][ C2] ? __pfx_process_one_work (kernel/workqueue.c:3133) [ 26.099292][ C2] ? assign_work (kernel/workqueue.c:1202) [ 26.099437][ C2] worker_thread (kernel/workqueue.c:3306 kernel/workqueue.c:3390) [ 26.099582][ C2] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 26.099722][ C2] kthread (kernel/kthread.c:389) [ 26.099831][ C2] ? __pfx_kthread (kernel/kthread.c:342) [ 26.099982][ C2] ret_from_fork (arch/x86/kernel/process.c:147) [ 26.100130][ C2] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq