mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-17 02:58:07 +02:00
l3cfg: schedule a commit when ACD is not supported
On interfaces not supporting ACD (for example, layer3 interfaces), the probe fails to be created with message: l3cfg[...,ifindex=2]: acd[172.25.17.1, init]: probe-good (interface does not support acd, initial post-commit) l3cfg[...,ifindex=2]: acd[172.25.17.1, ready]: set state to ready (probe is ready, waiting for address to be configured) During the post-commit event, if the address is not yet configured, we need to schedule a new commit to actually add it.
This commit is contained in:
parent
feb202c308
commit
c9a3a7cdf1
1 changed files with 1 additions and 2 deletions
|
|
@ -2972,8 +2972,7 @@ handle_start_defending:
|
|||
NM_L3_ACD_ADDR_STATE_READY,
|
||||
!NM_IN_SET(state_change_mode,
|
||||
ACD_STATE_CHANGE_MODE_INIT,
|
||||
ACD_STATE_CHANGE_MODE_INIT_REAPPLY,
|
||||
ACD_STATE_CHANGE_MODE_POST_COMMIT),
|
||||
ACD_STATE_CHANGE_MODE_INIT_REAPPLY),
|
||||
"probe is ready, waiting for address to be configured");
|
||||
}
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue