Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
authorGuillaume Nault <gnault@redhat.com>
Wed, 26 Jan 2022 15:38:52 +0000 (16:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Feb 2022 16:27:14 +0000 (17:27 +0100)
commite406345f8a26af5963936bc3aca32534adc30f16
tree9d6f8769a783c82f17aee96ff59893e6570176b2
parent1ac025f24b89cfcb31184f8da8186c815c5f977c
Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"

[ Upstream commit 36268983e90316b37000a005642af42234dabb36 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/addrconf.h
net/ipv6/addrconf.c