Ramses and Yu Watanabe
3da5c65d87
network: register already enslaved interfaces when their master appears ( #43557 )
...
When networkd starts or restarts, links are enumerated in ifindex
order. A slave enumerated before its master cannot register itself in
link_append_to_master(), as the master Link object does not exist yet.
The master then wrongly believes it has no slaves until the next
RTM_NEWLINK message for the slave arrives.
The stale slaves set affects operational state propagation
(degraded-carrier detection) and any code that inspects the slaves of
a master.
For instance, on restart, when networkd thinks that the master has no
slaves yet, we try to set the bond fail-over policy, which the kernel
then refuses because in reality the bond does have slaves.
To fix the issue, this updates the list of slaves after enumeration.
Co-authored-by: Yu Watanabe <watanabe.yu+github@gmail.com >
2026-09-01 18:28:43 +09:00
..
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-09-01 02:12:52 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-07-19 20:21:47 +09:00
2026-08-28 09:29:04 +02:00
2026-08-31 23:33:40 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-09-01 07:12:13 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-31 16:01:41 +02:00
2026-07-10 16:35:19 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-18 06:30:10 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-07-10 16:35:19 +09:00
2026-08-04 22:46:13 +09:00
2026-07-15 02:18:05 +09:00
2026-08-14 11:59:58 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 14:50:10 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-31 19:43:10 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:19:13 +09:00
2026-08-28 14:50:10 +02:00
2026-09-01 01:00:15 +09:00
2026-08-29 07:40:35 +09:00
2026-08-28 09:29:04 +02:00
2026-08-31 12:06:43 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-07-15 02:18:05 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-09-01 18:28:43 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-31 17:10:20 +09:00
2026-07-15 02:18:05 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 11:16:29 +02:00
2026-08-28 14:50:10 +02:00
2026-08-28 09:29:04 +02:00
2026-03-03 15:26:45 +01:00
2026-08-31 16:57:19 +01:00
2026-08-28 09:29:04 +02:00
2026-08-31 23:33:40 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-04 22:46:13 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-09-01 07:12:13 +02:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-28 06:34:45 +09:00
2026-08-29 07:40:35 +09:00
2026-08-31 17:18:07 +09:00
2026-08-28 06:34:45 +09:00
2026-07-29 11:41:17 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-08-28 09:29:04 +02:00
2026-08-25 06:58:06 +09:00
2026-08-28 09:29:04 +02:00
2026-08-28 06:34:45 +09:00
2026-07-10 16:35:19 +09:00
2026-08-28 06:34:45 +09:00
2026-08-18 06:30:10 +09:00