On Sun, 21 Sep 2025 22:55:45 +0100 Andre Carvalho wrote:
if (nt->state == STATE_DEACTIVATED && event == NETDEV_UP)
maybe_resume_target(nt, dev);
This uses GFP_KERNEL
netconsole_target_put(nt);
} spin_unlock_irqrestore(&target_list_lock, flags);
And we're under a spin lock.
This gets hit in the selftest you're adding so please triple check the kernel config that you're testing with.