mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
ipv6: do retries on stable privacy addresses
If a DAD conflict is detected, we want to retry privacy stable address generation up to idgen_retries (= 3) times with a delay of idgen_delay (= 1 second). Add the logic to addrconf_dad_failure. By design, we don't clean up dad failed permanent addresses. Cc: Erik Kline <ek@google.com> Cc: Fernando Gont <fgont@si6networks.com> Cc: Lorenzo Colitti <lorenzo@google.com> Cc: YOSHIFUJI Hideaki/吉藤英明 <hideaki.yoshifuji@miraclelinux.com> Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8e8e676d0b
commit
5f40ef77ad
2 changed files with 55 additions and 3 deletions
|
@ -52,6 +52,7 @@ struct inet6_ifaddr {
|
|||
|
||||
__u32 flags;
|
||||
__u8 dad_probes;
|
||||
__u8 stable_privacy_retry;
|
||||
|
||||
__u16 scope;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue