mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
network: do not block configuring addresses by creating stacked netdevs
`link_is_ready_to_configure()` is used to judge we can configure addresses, routes, and etc. And they can be configured independently of stacked netdevs.
This commit is contained in:
@@ -172,9 +172,6 @@ bool link_is_ready_to_configure(Link *link, bool allow_unmanaged) {
|
||||
if (link->set_link_messages > 0)
|
||||
return false;
|
||||
|
||||
if (!link->stacked_netdevs_created)
|
||||
return false;
|
||||
|
||||
if (!link->activated)
|
||||
return false;
|
||||
|
||||
@@ -441,6 +438,9 @@ void link_check_ready(Link *link) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!link->stacked_netdevs_created)
|
||||
return (void) log_link_debug(link, "%s(): stacked netdevs are not created.", __func__);
|
||||
|
||||
if (!link->static_addresses_configured)
|
||||
return (void) log_link_debug(link, "%s(): static addresses are not configured.", __func__);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user