mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-04 03:40:38 +01:00
device: stop ac6 grace time when ip6ll is ready in shared mode
The IPv6 shared mode starts IPv6 autoconf to send router advertisements. IPv6 autoconf schedules a 30-second timeout waiting for a link-local address to appear. When the link-local address appears, we need to cancel the timeout. Fixes:58287cbcc0('core: rework IP configuration in NetworkManager using layer 3 configuration') https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1030 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1266 (cherry picked from commita216739e09)
This commit is contained in:
parent
abfff502cc
commit
7368f322f8
1 changed files with 2 additions and 2 deletions
|
|
@ -11382,8 +11382,8 @@ _dev_ipac6_start(NMDevice *self)
|
|||
|
||||
if (node_type == NM_NDISC_NODE_TYPE_ROUTER)
|
||||
_dev_ipac6_set_state(self, NM_DEVICE_IP_STATE_READY);
|
||||
else
|
||||
_dev_ipac6_grace_period_start(self, ra_timeout, TRUE);
|
||||
|
||||
_dev_ipac6_grace_period_start(self, ra_timeout, TRUE);
|
||||
|
||||
nm_ndisc_start(priv->ipac6_data.ndisc);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue