]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
Merge branch 'netconsole-support-automatic-target-recovery'
authorJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 03:09:14 +0000 (19:09 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 22 Jan 2026 03:09:15 +0000 (19:09 -0800)
commitc7cffa49936d7b07fd5cd7cc54c7e6cd01d154c1
tree785b9da5224ff70f8000e7ff003b2a44e9640bfb
parent938b404e25d67be9004b3c853afa4a2e9723fe5b
parent6ecc08329bab2c87f579cf1a8ab7799d8d88d9bc
Merge branch 'netconsole-support-automatic-target-recovery'

Andre Carvalho says:

====================
netconsole: support automatic target recovery

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.
====================

Link: https://patch.msgid.link/20260118-netcons-retrigger-v11-0-4de36aebcf48@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>