2023-01-19 23:46:25

by Jon Maxwell

[permalink] [raw]
Subject: [net-next v3] ipv6: Document that max_size sysctl is depreciated

v3: Change kernel version from 6.2 to 6.3. Add "commit" in front of hash.

Document that max_size is depreciated due to:

commit af6d10345ca7 ("ipv6: remove max_size check inline with ipv4")

Signed-off-by: Jon Maxwell <[email protected]>
---
Documentation/networking/ip-sysctl.rst | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index 7fbd060d6047..4cc2fab58dea 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -156,6 +156,9 @@ route/max_size - INTEGER
From linux kernel 3.6 onwards, this is deprecated for ipv4
as route cache is no longer used.

+ From linux kernel 6.3 onwards, this is deprecated for ipv6
+ as garbage collection manages cached route entries.
+
neigh/default/gc_thresh1 - INTEGER
Minimum number of entries to keep. Garbage collector will not
purge entries if there are fewer than this number.
--
2.31.1


2023-01-20 23:17:07

by Edward Cree

[permalink] [raw]
Subject: Re: [net-next v3] ipv6: Document that max_size sysctl is depreciated

On 19/01/2023 22:40, Jon Maxwell wrote:
> v3: Change kernel version from 6.2 to 6.3. Add "commit" in front of hash.
>
> Document that max_size is depreciated due to:

typo: deprecated (also in Subject line).

>
> commit af6d10345ca7 ("ipv6: remove max_size check inline with ipv4")
>
> Signed-off-by: Jon Maxwell <[email protected]>
> ---
> Documentation/networking/ip-sysctl.rst | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
> index 7fbd060d6047..4cc2fab58dea 100644
> --- a/Documentation/networking/ip-sysctl.rst
> +++ b/Documentation/networking/ip-sysctl.rst
> @@ -156,6 +156,9 @@ route/max_size - INTEGER
> From linux kernel 3.6 onwards, this is deprecated for ipv4
> as route cache is no longer used.
>
> + From linux kernel 6.3 onwards, this is deprecated for ipv6
> + as garbage collection manages cached route entries.
> +
> neigh/default/gc_thresh1 - INTEGER
> Minimum number of entries to keep. Garbage collector will not
> purge entries if there are fewer than this number.
>