diff options
author | Heiner Kallweit <heiner.kallweit@web.de> | 2014-03-12 21:13:19 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-04-18 09:07:05 (GMT) |
commit | 69a5b094705fa4e33ec2403c9cd9609b7dc72444 (patch) | |
tree | d3e7bba5af05a0e2a6e89584994b5af5e0bed75e /net/wimax/Kconfig | |
parent | a488bc7135f7bb3c4a716105bda1d119748f87b2 (diff) | |
download | linux-fsl-qoriq-69a5b094705fa4e33ec2403c9cd9609b7dc72444.tar.xz |
ipv6: Avoid unnecessary temporary addresses being generated
[ Upstream commit ecab67015ef6e3f3635551dcc9971cf363cc1cd5 ]
tmp_prefered_lft is an offset to ifp->tstamp, not now. Therefore
age needs to be added to the condition.
Age calculation in ipv6_create_tempaddr is different from the one
in addrconf_verify and doesn't consider ADDRCONF_TIMER_FUZZ_MINUS.
This can cause age in ipv6_create_tempaddr to be less than the one
in addrconf_verify and therefore unnecessary temporary address to
be generated.
Use age calculation as in addrconf_modify to avoid this.
Signed-off-by: Heiner Kallweit <heiner.kallweit@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'net/wimax/Kconfig')
0 files changed, 0 insertions, 0 deletions