====================================== | [ 367.893295][ T1427] netdevsim: Failed to replace nexthop bucket | [ 371.198067][ T1467] Failed to register nexthop notifier | [ 371.967352][ C0] BUG: spinlock bad magic on CPU#0, kworker/u16:0/11 | [ 371.967623][ C0] lock: noop_qdisc+0x240/0x300, .magic: 00000000, .owner: kworker/u16:0/11, .owner_cpu: 0 [ 371.968142][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 371.968446][ C0] Workqueue: netns cleanup_net [ 371.968615][ C0] Call Trace: [ 371.968730][ C0] [ 371.968814][ C0] dump_stack_lvl (lib/dump_stack.c:122) [ 371.968961][ C0] do_raw_spin_unlock (kernel/locking/spinlock_debug.c:100 kernel/locking/spinlock_debug.c:141) [ 371.969096][ C0] _raw_spin_unlock (./arch/x86/include/asm/preempt.h:94 ./include/linux/spinlock_api_smp.h:143 kernel/locking/spinlock.c:186) [ 371.969242][ C0] 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) [ 371.969380][ C0] handle_softirqs (kernel/softirq.c:554) [ 371.969531][ C0] ? 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) [ 371.969673][ C0] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 371.969771][ C0] [ 371.969838][ C0] [ 371.969902][ C0] __local_bh_enable_ip (kernel/softirq.c:382) [ 371.970045][ C0] dev_deactivate_many (net/sched/sch_generic.c:1356) [ 371.970201][ C0] __dev_close_many (net/core/dev.c:1547) [ 371.970342][ C0] ? __pfx___dev_close_many (net/core/dev.c:1522) [ 371.970487][ C0] dev_close_many (net/core/dev.c:1585) [ 371.970640][ C0] ? __pfx_dev_close_many (net/core/dev.c:1575) [ 371.970788][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 371.970942][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 371.971085][ C0] unregister_netdevice_many_notify (net/core/dev.c:11321) [ 371.971247][ C0] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:733 kernel/locking/mutex.c:752) [ 371.971385][ C0] ? do_raw_spin_unlock (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/asm-generic/qspinlock.h:57 kernel/locking/spinlock_debug.c:101 kernel/locking/spinlock_debug.c:141) [ 371.971519][ C0] ? __mutex_lock (./arch/x86/include/asm/preempt.h:94 kernel/locking/mutex.c:733 kernel/locking/mutex.c:752) [ 371.971671][ C0] ? __pfx_unregister_netdevice_many_notify (net/core/dev.c:11288) [ 371.971850][ C0] ? 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) [ 371.971976][ C0] ? 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) [ 371.972114][ C0] ? rtnl_is_locked (net/core/rtnetlink.c:164) [ 371.972242][ C0] ? unregister_netdevice_queue (net/core/dev.c:11273) [ 371.972416][ C0] ? __pfx_unregister_netdevice_queue (net/core/dev.c:11272) [ 371.972597][ C0] default_device_exit_batch (net/core/dev.c:11890) [ 371.972751][ C0] ? __pfx_default_device_exit_batch (net/core/dev.c:11865) [ 371.972910][ C0] ? 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) [ 371.973048][ C0] ? 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) [ 371.973228][ C0] cleanup_net (net/core/net_namespace.c:625 (discriminator 3)) [ 371.973355][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5724) [ 371.973498][ C0] ? __pfx_cleanup_net (net/core/net_namespace.c:570) [ 371.973669][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 371.973810][ C0] ? process_one_work (kernel/workqueue.c:3207) [ 371.973962][ C0] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 371.974101][ C0] ? process_one_work (kernel/workqueue.c:3207) [ 371.974244][ C0] process_one_work (kernel/workqueue.c:3231) [ 371.974375][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 371.974540][ C0] ? __pfx_process_one_work (kernel/workqueue.c:3133) [ 371.974668][ C0] ? assign_work (kernel/workqueue.c:1202) [ 371.974818][ C0] worker_thread (kernel/workqueue.c:3306 kernel/workqueue.c:3390) [ 371.974947][ C0] ? __pfx_worker_thread (kernel/workqueue.c:3339) [ 371.975090][ C0] kthread (kernel/kthread.c:389) [ 371.975192][ C0] ? __pfx_kthread (kernel/kthread.c:342) [ 371.975329][ C0] ret_from_fork (arch/x86/kernel/process.c:147) [ 371.975460][ C0] ? __pfx_kthread (kernel/kthread.c:342) Finger prints: do_raw_spin_unlock:_raw_spin_unlock:net_tx_action:handle_softirqs:do_softirq