Re: [PATCH net-next v11 0/7] netconsole: support automatic target recovery
From: Breno Leitao <leitao@debian.org>
Date: 2026-01-20 11:39:10
Also in:
linux-kselftest, lkml
From: Breno Leitao <leitao@debian.org>
Date: 2026-01-20 11:39:10
Also in:
linux-kselftest, lkml
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 <redacted>
Tested-by: Breno Leitao <leitao@debian.org> Thanks for your work here, and sorry for so many revisions! --breno