Hello Andre,

Thanks for the fix.

On Fri, Jul 10, 2026 at 11:19:17PM +0100, Andre Carvalho wrote:
> The "mac" bind mode reactivation downs the interface, restores the saved
> MAC and renames it to trigger a target resume. This assumes the recreated
> interface comes back with a different MAC, which is true under
> MACAddressPolicy=none (as on the Netdev CI) but not when MACs are
> persistent. In the persistent case netconsole resumes the target on its
> own, and the down/restore/rename flow instead drops it and fails the test.
> 
> Guard the block on the MAC having actually changed so the test passes
> under both policies.
> 
> Fixes: 6ecc08329bab ("selftests: netconsole: validate target resume")
> Reported-by: Matthieu Baerts (NGI0) <[email protected]>
> Closes: 
> https://lore.kernel.org/netdev/[email protected]/
> Signed-off-by: Andre Carvalho <[email protected]>

Reviewed-by: Breno Leitao <[email protected]>

FWIW: netdev CI got yellow for this patch, but, this is not realted to this
test.

https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/

Reply via email to