Re: [PATCH net-next v2 5/6] netconsole: resume previously deactivated target

From: Jakub Kicinski

Date: Mon Sep 22 2025 - 19:50:58 EST


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.