mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
network: do not call link_joined() when not all netdevs are configured
If some of stacked netdevs are already configured, then link_joined() is called before netdevs are fully configured.
This commit is contained in:
parent
6c8a2c6793
commit
2b6db913e2
@ -2681,10 +2681,9 @@ static int link_enter_join_netdev(Link *link) {
|
||||
|
||||
HASHMAP_FOREACH(netdev, link->network->stacked_netdevs, i) {
|
||||
|
||||
if (netdev->ifindex > 0) {
|
||||
link_joined(link);
|
||||
if (netdev->ifindex > 0)
|
||||
/* Assume already enslaved. */
|
||||
continue;
|
||||
}
|
||||
|
||||
log_struct(LOG_DEBUG,
|
||||
LOG_LINK_INTERFACE(link),
|
||||
|
Loading…
Reference in New Issue
Block a user