mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-12 19:20:32 +01: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.
Fixes: 58287cbcc0 ('core: rework IP configuration in NetworkManager using layer 3 configuration')
This commit is contained in:
parent
23727917b2
commit
687051368f
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