Skip to contentSkip to conversation

ipv6: Document that max_size sysctl is depreciated

PATCH Superseded Jon Maxwell 2 participants 3 messages Jan 17, 2023 – Jan 20, 2023

Subsystems (3)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ipv6: Document that max_size sysctl is depreciated

v2: use correct commit syntax.

Document that max_size is depreciated due to:

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

---
 Documentation/networking/ip-sysctl.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/networking/ip-sysctl.rst +3 -0
index 7fbd060d6047..edf1fcd10c5c 100644
@@ -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.2 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.
Signature · 1 line
2.31.1
maintainer
#1 lore raw
Quoted 3 lines · On Wed, 18 Jan 2023 09:18:58 +1100 Jon Maxwell wrote:

Subject: [net-next v2] ipv6: Document that max_size sysctl is depreciated

v2: use correct commit syntax.

change log under the --- lines

Quoted 3 lines

Document that max_size is depreciated due to:

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

^ commit

the word "commit" should be there before the hash

Quoted 10 lines
---
 Documentation/networking/ip-sysctl.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/networking/ip-sysctl.rst +0 -0
index 7fbd060d6047..edf1fcd10c5c 100644

Documentation/networking/ip-sysctl.rst route/max_size - INTEGER · line 159

Quoted 4 lines
Documentation/networking/ip-sysctl.rst +1 -0
@@ -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.2 onwards, this is deprecated for ipv6

6.2 or 6.3? 6.2 is what's currently in Linus's tree, net-next is 6.3 and the commit in the commit msg is in net-next only.

Quoted 1 line
Documentation/networking/ip-sysctl.rst +1 -0
+	as garbage collection manages cached route entries.
#2 lore raw
Quoted 6 lines · Jakub Kicinski
Quoted 3 lines · On Wed, 18 Jan 2023 09:18:58 +1100 Jon Maxwell wrote:

Subject: [net-next v2] ipv6: Document that max_size sysctl is depreciated

v2: use correct commit syntax.

Quoted 7 lines

change log under the --- lines

Quoted 3 lines

Document that max_size is depreciated due to:

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

^ commit

Okay I'll add that.

Quoted 16 lines

the word "commit" should be there before the hash

Quoted 13 lines
---
 Documentation/networking/ip-sysctl.rst | 3 +++
 1 file changed, 3 insertions(+)
Documentation/networking/ip-sysctl.rst +0 -0
index 7fbd060d6047..edf1fcd10c5c 100644
@@ -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.
 
Quoted 5 lines

Documentation/networking/ip-sysctl.rst route/max_size - INTEGER · line 159

Quoted 1 line
Documentation/networking/ip-sysctl.rst +1 -0
+     From linux kernel 6.2 onwards, this is deprecated for ipv6

6.2 or 6.3? 6.2 is what's currently in Linus's tree, net-next is 6.3 and the commit in the commit msg is in net-next only.

I'll change this to 6.3.

Regards

Jon

Quoted 1 line
Quoted 1 line
Documentation/networking/ip-sysctl.rst +1 -0
+     as garbage collection manages cached route entries.