When the tracked IPv6 link-local address is removed, networkd clears link->ipv6ll_address, but keeps DHCPv6, NDisc, and RADV running. These engines keep using a stale source identity which affects the following: - DHCPv6 client continues to send Solicit/Renew/Rebind from a nonexistent source address. - NDisc continues to send Router Solicitations from a nonexistent source address. Router Advertisements cannot be received properly. - RADV continues to advertise with a stale source address. This can lead to downstream hosts configuring invalid routes. - DHCP-PD prefixes remain configured without a valid upstream DHCPv6 path. Added link_ipv6ll_lost() to stop IPv6 dynamic engines and related states: - sd_dhcp6_client_stop() - ndisc_stop() + ndisc_flush() - sd_radv_stop() This is called from address_drop() when the dropped address matches the tracked IPv6LL. After clearing the tracked address, it scans for another ready link-local address on the interface. If found, this is set as link->ipv6ll_address and link_ipv6ll_gained() is called to restart the engines with the new source identity. This resolves the FIXME in address_drop(). Signed-off-by: Aritra Basu <aritrbas+gh@cisco.com>
System and Service Manager
Details
Most documentation is available on systemd's web site.
Assorted, older, general information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Code Map for information about this repository's layout and content.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list, join our IRC channel #systemd on libera.chat or Matrix channel
Stable branches with backported patches are available in the stable repo.
We have a security bug bounty program sponsored by the Sovereign Tech Fund hosted on YesWeHack
Repositories with distribution packages built from git main are available on OBS, and also repositories with packages built from the latest stable release
