====================================== | xx__-> echo $? | 0 | xx__-> [ 43.859972][ C1] BUG: spinlock bad magic on CPU#1, kworker/u16:1/76 | [ 43.860172][ C1] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:1/76, .owner_cpu: 1 [ 43.860662][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 43.860960][ C1] Workqueue: netns cleanup_net [ 43.861102][ C1] Call Trace: [ 43.861205][ C1] [ 43.861273][ C1] dump_stack_lvl (lib/dump_stack.c:122) [ 43.861413][ C1] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 43.861547][ C1] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 43.861680][ C1] 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) [ 43.861812][ C1] handle_softirqs (kernel/softirq.c:554) [ 43.861948][ C1] ? 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) [ 43.862083][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 43.862182][ C1] [ 43.862257][ C1] [ 43.862323][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 43.862458][ C1] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 43.862592][ C1] __dev_close_many (net/core/dev.c:1547) [ 43.862720][ C1] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 43.862848][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 43.862978][ C1] dev_close_many (net/core/dev.c:1585) [ 43.863111][ C1] ? lock_acquire.part.0 (kernel/locking/lockdep.c:466 kernel/locking/lockdep.c:5761) [ 43.863243][ C1] ? default_device_exit_batch (net/core/dev.c:11876) [ 43.863377][ C1] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 43.863503][ C1] ? fou_exit_net (net/ipv4/fou_core.c:1215) [ 43.863638][ C1] ? __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) [ 43.863772][ C1] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 43.863931][ C1] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 43.864065][ C1] ? trace_contention_end (./include/trace/events/lock.h:122 (discriminator 52)) [ 43.864208][ C1] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 43.864339][ C1] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 43.864498][ C1] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:618 kernel/locking/mutex.c:752) [ 43.864629][ C1] ? find_held_lock (kernel/locking/lockdep.c:5249) [ 43.864765][ C1] ? 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) [ 43.864896][ C1] ? 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) [ 43.865025][ C1] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 43.865155][ C1] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 43.865318][ C1] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 43.865478][ C1] default_device_exit_batch (net/core/dev.c:11890) [ 43.865609][ C1] ? __pfx_default_device_exit_batch (net/core/dev.c:11865) [ 43.865774][ C1] ? ops_exit_list (net/core/net_namespace.c:172 (discriminator 3)) [ 43.865909][ C1] cleanup_net (net/core/net_namespace.c:625 (discriminator 3)) [ 43.866037][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 43.866168][ C1] ? __pfx_cleanup_net (net/core/net_namespace.c:570) [ 43.866296][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 43.866433][ C1] ? process_one_work (kernel/workqueue.c:3207) [ 43.866561][ C1] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 43.866692][ C1] ? process_one_work (kernel/workqueue.c:3207) [ 43.866825][ C1] process_one_work (kernel/workqueue.c:3231) [ 43.866964][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 43.867097][ C1] ? __pfx_process_one_work (kernel/workqueue.c:3133) [ 43.867230][ C1] ? assign_work (kernel/workqueue.c:1202) [ 43.867366][ C1] worker_thread (kernel/workqueue.c:3306 kernel/workqueue.c:3390) [ 43.867496][ C1] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 43.867665][ C1] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 43.867796][ C1] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 43.867924][ C1] kthread (kernel/kthread.c:389) [ 43.868027][ C1] ? __pfx_kthread (kernel/kthread.c:342) [ 43.868162][ C1] ret_from_fork (arch/x86/kernel/process.c:147) [ 43.868293][ C1] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq