diff options
author | Guillaume Nault <gnault@redhat.com> | 2022-01-26 18:38:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-27 16:35:14 +0300 |
commit | 36268983e90316b37000a005642af42234dabb36 (patch) | |
tree | 4962f591ac77f88ca5742407b5368708e48cca56 /include/net/addrconf.h | |
parent | c7ec845f0eafc7c89efcd04a75a20d548e86beea (diff) | |
download | linux-36268983e90316b37000a005642af42234dabb36.tar.xz |
Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
This reverts commit b75326c201242de9495ff98e5d5cff41d7fc0d9d.
This commit breaks Linux compatibility with USGv6 tests. The RFC this
commit was based on is actually an expired draft: no published RFC
currently allows the new behaviour it introduced.
Without full IETF endorsement, the flash renumbering scenario this
patch was supposed to enable is never going to work, as other IPv6
equipements on the same LAN will keep the 2 hours limit.
Fixes: b75326c20124 ("ipv6: Honor all IPv6 PIO Valid Lifetime values")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/addrconf.h')
-rw-r--r-- | include/net/addrconf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index 78ea3e332688..e7ce719838b5 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h @@ -6,6 +6,8 @@ #define RTR_SOLICITATION_INTERVAL (4*HZ) #define RTR_SOLICITATION_MAX_INTERVAL (3600*HZ) /* 1 hour */ +#define MIN_VALID_LIFETIME (2*3600) /* 2 hours */ + #define TEMP_VALID_LIFETIME (7*86400) #define TEMP_PREFERRED_LIFETIME (86400) #define REGEN_MAX_RETRY (3) |