From: Jakub Kicinski Date: Wed, 7 Jan 2026 02:04:02 +0000 (-0800) Subject: Merge branch 'net-netdevsim-fix-inconsistent-carrier-state-after-link-unlink' X-Git-Tag: v6.19-rc5~29^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=653267321f05316f159e05b3ef562aa700632db6;p=thirdparty%2Fkernel%2Flinux.git Merge branch 'net-netdevsim-fix-inconsistent-carrier-state-after-link-unlink' Yohei Kojima says: ==================== net: netdevsim: fix inconsistent carrier state after link/unlink This series fixes netdevsim's inconsistent behavior between carrier and link/unlink state. More specifically, this fixes a bug that the carrier goes DOWN although two netdevsim were peered, depending on the order of peering and ifup. Especially in a NetworkManager-enabled environment, netdevsim test fails because of this. The first patch fixes the bug itself in netdevsim/bus.c by adding netif_carrier_on() into a proper function. The second patch adds a regression test for this bug. ==================== Link: https://patch.msgid.link/cover.1767624906.git.yk@y-koj.net Signed-off-by: Jakub Kicinski --- 653267321f05316f159e05b3ef562aa700632db6