device: add IPv6 link local address via merge-and-apply

System Internals / NetworkManager - Thomas Haller [redhat.com] - 4 April 2018 12:57 EDT

The device must not directly add addresses or routes. Instead, it must track the addresses/routes it wants to add in the NMIP6Config.

Otherwise, during reapply, the information is lost and the next sync will remove them.

Fixes-test: @ipv6_preserve_cached_routes

78ed0a4a2 device: add IPv6 link local address via merge-and-apply
src/devices/nm-device.c | 126 ++++++++++++++++++++++++++++++++++--------------
1 file changed, 90 insertions(+), 36 deletions(-)

Upstream: cgit.freedesktop.org


  • Share