Skip to content
Commit bfbf81b3 authored by Alex Henrie's avatar Alex Henrie Committed by Jakub Kicinski
Browse files

net: ipv6/addrconf: clamp preferred_lft to the maximum allowed



Without this patch, there is nothing to stop the preferred lifetime of a
temporary address from being greater than its valid lifetime. If that
was the case, the valid lifetime was effectively ignored.

Signed-off-by: default avatarAlex Henrie <alexhenrie24@gmail.com>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20231024212312.299370-2-alexhenrie24@gmail.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent d8c4ef76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment