====================================== | xx__-> echo $? | 0 | xx__-> [ 46.456515][ C2] BUG: spinlock bad magic on CPU#2, kworker/u16:1/74 | [ 46.456760][ C2] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:1/74, .owner_cpu: 2 [ 46.457291][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 46.457610][ C2] Workqueue: netns cleanup_net [ 46.457766][ C2] Call Trace: [ 46.457876][ C2] [ 46.457960][ C2] dump_stack_lvl (lib/dump_stack.c:122) [ 46.458108][ C2] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 46.458275][ C2] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 46.458431][ 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) [ 46.458575][ C2] handle_softirqs (kernel/softirq.c:554) [ 46.458722][ 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) [ 46.458872][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 46.458979][ C2] [ 46.459054][ C2] [ 46.459128][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 46.459283][ C2] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 46.459436][ C2] __dev_close_many (net/core/dev.c:1547) [ 46.459576][ C2] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 46.459723][ C2] dev_close_many (net/core/dev.c:1585) [ 46.459870][ C2] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 46.460011][ C2] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:227) [ 46.460169][ C2] ? mark_lock (kernel/locking/lockdep.c:4655 (discriminator 3)) [ 46.460307][ C2] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 46.460485][ C2] ? __lock_release (kernel/locking/lockdep.c:5435) [ 46.460643][ C2] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 46.460863][ C2] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 46.461096][ C2] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 46.461315][ 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) [ 46.461477][ C2] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 46.461647][ C2] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 46.461866][ C2] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 46.462079][ C2] ? vrf_dellink (drivers/net/vrf.c:1686) [ 46.462261][ C2] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 46.462464][ C2] default_device_exit_batch (net/core/dev.c:11890) [ 46.462624][ C2] ? __pfx_default_device_exit_batch (net/core/dev.c:11865) [ 46.462810][ 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) [ 46.462977][ C2] ? 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) [ 46.463200][ C2] cleanup_net (net/core/net_namespace.c:625 (discriminator 3)) [ 46.463359][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 46.463534][ C2] ? __pfx_cleanup_net (net/core/net_namespace.c:570) [ 46.463701][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 46.463870][ C2] ? process_one_work (kernel/workqueue.c:3207) [ 46.464028][ C2] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 46.464216][ C2] ? process_one_work (kernel/workqueue.c:3207) [ 46.464381][ C2] process_one_work (kernel/workqueue.c:3231) [ 46.464531][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 46.464690][ C2] ? __pfx_process_one_work (kernel/workqueue.c:3133) [ 46.464842][ C2] ? assign_work (kernel/workqueue.c:1202) [ 46.464992][ C2] worker_thread (kernel/workqueue.c:3306 kernel/workqueue.c:3390) [ 46.465162][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 46.465362][ C2] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 46.465525][ C2] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 46.465677][ C2] kthread (kernel/kthread.c:389) [ 46.465814][ C2] ? __pfx_kthread (kernel/kthread.c:342) [ 46.465939][ C2] ret_from_fork (arch/x86/kernel/process.c:147) [ 46.466088][ C2] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq