diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2015-09-23 14:10:26 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2015-09-23 15:24:04 +0300 |
commit | e66040417b52be98d41ba1230f25dea65147e8ee (patch) | |
tree | 093afb610d552b4f0f810083113bb8dae022d29b /man/systemd-system.conf.xml | |
parent | 44598572da523f66872f593be7139b9a0f97deee (diff) |
sd-dhcp6-client: Properly handle DHCPv6 client restart after resume
Whenever a Router Advertisement is received, dhcp6_configure() will be
called. A Router Advertisment can also instruct DHCPv6 to start acquiring
IPv6 addresses in manged mode, if it previously was handling only other
information. As an Router Advertisment is also received after the DHCPv6
client has resumed from a suspend, fix the function not to assume DHCPv6
is currently running, but instead try to restart it. Handle
sd_dhcp6_start() returning -EALREADY indicating that the DHCPv6 client was
already running.
Collect all client unrefs in one place to unclutter the error handling.
Fixes https://github.com/systemd/systemd/issues/963
Diffstat (limited to 'man/systemd-system.conf.xml')
0 files changed, 0 insertions, 0 deletions