mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-27 05:50:32 +01:00
ovs: fix race condition setting cloned MAC for ovs interfaces
This commit is contained in:
parent
f5e0d856f7
commit
0f51d2dcc4
1 changed files with 3 additions and 1 deletions
|
|
@ -200,7 +200,9 @@ set_platform_mtu(NMDevice *device, guint32 mtu)
|
|||
static gboolean
|
||||
ready_for_ip_config(NMDevice *device, gboolean is_manual)
|
||||
{
|
||||
return nm_device_get_ip_ifindex(device) > 0;
|
||||
NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(device);
|
||||
|
||||
return nm_device_get_ip_ifindex(device) > 0 && !priv->wait_link_is_waiting;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue