Subject: Re: [PATCH net-next v11 0/7] netconsole: support automatic target recovery

From: Breno Leitao <[email-masked]>
Date: Tue, 20 Jan 2026 03:39:07 -0800

On Sun, Jan 18, 2026 at 11:00:20AM +0000, Andre Carvalho wrote:
> This patchset introduces target resume capability to netconsole allowing
> it to recover targets when underlying low-level interface comes back
> online.
> 
> The patchset starts by refactoring netconsole state representation in
> order to allow representing deactivated targets (targets that are
> disabled due to interfaces unregister).
> 
> It then modifies netconsole to handle NETDEV_REGISTER events for such
> targets, setups netpoll and forces the device UP. Targets are matched with
> incoming interfaces depending on how they were bound in netconsole
> (by mac or interface name). For these reasons, we also attempt resuming
> on NETDEV_CHANGENAME.
> 
> The patchset includes a selftest that validates netconsole target state
> transitions and that target is functional after resumed.
> 
> Signed-off-by: Andre Carvalho <[email-masked]>

Tested-by: Breno Leitao <[email-masked]>

Thanks for your work here, and sorry for so many revisions!
--breno