====================================== | xx__-> echo $? | 0 | xx__-> [ 79.599300][ C3] BUG: spinlock bad magic on CPU#3, kworker/u16:1/74 | [ 79.599564][ C3] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:1/74, .owner_cpu: 3 [ 79.600068][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 79.600395][ C3] Workqueue: netns cleanup_net [ 79.600544][ C3] Call Trace: [ 79.600654][ C3] [ 79.600778][ C3] dump_stack_lvl (lib/dump_stack.c:122) [ 79.600930][ C3] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 79.601081][ C3] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 79.601230][ C3] 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) [ 79.601376][ C3] handle_softirqs (kernel/softirq.c:554) [ 79.601521][ C3] ? 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) [ 79.601672][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 79.601780][ C3] [ 79.601857][ C3] [ 79.601928][ C3] __local_bh_enable_ip (kernel/softirq.c:382) [ 79.602078][ C3] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 79.602222][ C3] __dev_close_many (net/core/dev.c:1547) [ 79.602368][ C3] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 79.602516][ C3] dev_close_many (net/core/dev.c:1585) [ 79.602656][ C3] ? lock_acquire.part.0 (kernel/locking/lockdep.c:466 kernel/locking/lockdep.c:5761) [ 79.602799][ C3] ? default_device_exit_batch (net/core/dev.c:11876) [ 79.602947][ C3] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 79.603118][ C3] ? __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) [ 79.603267][ C3] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 79.603448][ C3] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 79.603596][ C3] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 52)) [ 79.603738][ C3] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 79.603878][ C3] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 79.604056][ C3] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3)) [ 79.604164][ C3] ? 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) [ 79.604310][ C3] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 79.604456][ C3] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 79.604637][ C3] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 79.604816][ C3] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 79.604995][ C3] default_device_exit_batch (net/core/dev.c:11890) [ 79.605138][ C3] ? __pfx_default_device_exit_batch (net/core/dev.c:11865) [ 79.605319][ C3] ? 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) [ 79.605478][ C3] ? nexthop_net_exit_batch_rtnl (net/ipv4/nexthop.c:585 net/ipv4/nexthop.c:2146 net/ipv4/nexthop.c:2654 net/ipv4/nexthop.c:4004) [ 79.605663][ C3] cleanup_net (net/core/net_namespace.c:625 (discriminator 3)) [ 79.605812][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 79.605954][ C3] ? __pfx_cleanup_net (net/core/net_namespace.c:570) [ 79.606097][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 79.606237][ C3] ? process_one_work (kernel/workqueue.c:3207) [ 79.606383][ C3] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 79.606525][ C3] ? process_one_work (kernel/workqueue.c:3207) [ 79.606670][ C3] process_one_work (kernel/workqueue.c:3231) [ 79.606815][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 79.606958][ C3] ? __pfx_process_one_work (kernel/workqueue.c:3133) [ 79.607124][ C3] ? assign_work (kernel/workqueue.c:1202) [ 79.607270][ C3] worker_thread (kernel/workqueue.c:3306 kernel/workqueue.c:3390) [ 79.607412][ C3] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 79.607585][ C3] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 79.607731][ C3] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 79.607876][ C3] kthread (kernel/kthread.c:389) [ 79.607988][ C3] ? __pfx_kthread (kernel/kthread.c:342) [ 79.608136][ C3] ret_from_fork (arch/x86/kernel/process.c:147) [ 79.608280][ C3] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq