]> git.ipfire.org Git - thirdparty/strongswan.git/commit
kernel-netlink: Update cached address flags
authorTobias Brunner <tobias@strongswan.org>
Thu, 15 Oct 2020 14:10:07 +0000 (16:10 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 29 Oct 2020 08:46:14 +0000 (09:46 +0100)
commit2eb43ca40596d88521a1591f7d4c392b700e3bbf
tree17f88db0a996fef5a3f7c3b92db5b7afc2031ecc
parent266e2dbbea838c8580347ec9764ca53bcc4bebcf
kernel-netlink: Update cached address flags

Note that manually adding an IPv6 address without disabling duplicate
address detection (DAD, e.g. via `nodad` when using iproute2) will cause
a roam event due to a flag change after about 1-2 seconds (TENTATIVE is
removed).  If this is a problem, we might have to ignore addresses with
TENTATIVE flag when we receive a RTM_NEWADDR message until that flag is
eventually removed.

Fixes #3511.
src/libcharon/plugins/kernel_netlink/kernel_netlink_net.c