Message ID | 20230829054623.104293-6-alexhenrie24@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: ipv6/addrconf: ensure that temporary addresses' preferred lifetimes are in the valid range | expand |
On Mon, 2023-08-28 at 23:44 -0600, Alex Henrie wrote: > Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> > --- > Documentation/networking/ip-sysctl.rst | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst > index ae196e78df88..65daececd9bd 100644 > --- a/Documentation/networking/ip-sysctl.rst > +++ b/Documentation/networking/ip-sysctl.rst > @@ -2469,7 +2469,11 @@ temp_valid_lft - INTEGER > Default: 172800 (2 days) > > temp_prefered_lft - INTEGER > - Preferred lifetime (in seconds) for temporary addresses. > + Preferred lifetime (in seconds) for temporary addresses. If > + temp_prefered_lft is less than the minimum required lifetime (typically > + 5 seconds), the preferred lifetime is the minimum required. If > + temp_prefered_lft is greater than temp_valid_lft, the preferred lifetime > + is temp_valid_lft. I think the above could be more clear as: """ If temp_prefered_lft is less than the minimum required lifetime (typically 5 seconds), the preferred lifetime is extended to the minimum required. If temp_prefered_lft is greater than temp_valid_lft, the preferred lifetime is limited to temp_valid_lft. """ cheers, Paolo
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst index ae196e78df88..65daececd9bd 100644 --- a/Documentation/networking/ip-sysctl.rst +++ b/Documentation/networking/ip-sysctl.rst @@ -2469,7 +2469,11 @@ temp_valid_lft - INTEGER Default: 172800 (2 days) temp_prefered_lft - INTEGER - Preferred lifetime (in seconds) for temporary addresses. + Preferred lifetime (in seconds) for temporary addresses. If + temp_prefered_lft is less than the minimum required lifetime (typically + 5 seconds), the preferred lifetime is the minimum required. If + temp_prefered_lft is greater than temp_valid_lft, the preferred lifetime + is temp_valid_lft. Default: 86400 (1 day)
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> --- Documentation/networking/ip-sysctl.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)