diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2024-02-13 23:26:30 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-02-15 15:34:40 +0100 |
commit | 2aa8f155b09519814e449dc19adacf01fd1367ee (patch) | |
tree | aa4ff5d012749d566d7aeac7c324261c3bf633d2 /security | |
parent | ea578703b03d5d651b091c39f717dc829155b520 (diff) |
net: ipv6/addrconf: ensure that regen_advance is at least 2 seconds
RFC 8981 defines REGEN_ADVANCE as follows:
REGEN_ADVANCE = 2 + (TEMP_IDGEN_RETRIES * DupAddrDetectTransmits * RetransTimer / 1000)
Thus, allowing it to be less than 2 seconds is technically a protocol
violation.
Link: https://datatracker.ietf.org/doc/html/rfc8981#name-defined-protocol-parameters
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions