network: call link_check_ready() when all stacked netdevs are created

Follow-up for 879377cad5.

Otherwise, the underlying interface may stuck in configuring state.
This commit is contained in:
Yu Watanabe
2021-12-08 18:40:13 +09:00
parent 9872fe44cb
commit bb916f350a
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -681,6 +681,7 @@ static int link_create_stacked_netdev_handler(sd_netlink *rtnl, sd_netlink_messa
if (link->create_stacked_netdev_messages == 0) {
link->stacked_netdevs_created = true;
log_link_debug(link, "Stacked netdevs created.");
link_check_ready(link);
}
return 0;