update ip-sysctl.txt documentation
Subsystems (3)
PATCH 1/1 update ip-sysctl.txt documentation
Update documentation to reflect the fact that /proc/sys/net/ipv4/route/max_size is no longer used for ipv4.
--- Documentation/networking/ip-sysctl.txt | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
Documentation/networking/ip-sysctl.txt +4 -2
@@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN Default: 0 route/max_size - INTEGER - Maximum number of routes allowed in the kernel. Increase - this when using large numbers of interfaces and/or routes. + Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no + longer used. For ipv6, this is used to limit the maximum number of ipv6 + routes allowed in the kernel. Increase this when using large numbers of + interfaces and/or routes. neigh/default/gc_thresh1 - INTEGER Minimum number of entries to keep. Garbage collector will not
Signature · 1 line
1.7.4.4
From: Ani Sinha
Quoted 13 lines
Update documentation to reflect the fact that
/proc/sys/net/ipv4/route/max_sizeis no longer used for ipv4.Signed-off-by Ani Sinha <[email protected]>--- Documentation/networking/ip-sysctl.txt | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)Documentation/networking/ip-sysctl.txt +0
-0
Documentation/networking/ip-sysctl.txt fwmark_reflect - BOOLEAN · line 70
Quoted 9 lines
Documentation/networking/ip-sysctl.txt +4
-2@@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN Default: 0 route/max_size - INTEGER - Maximum number of routes allowed in the kernel. Increase - this when using large numbers of interfaces and/or routes. + Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no + longer used. For ipv6, this is used to limit the maximum number of ipv6 + routes allowed in the kernel. Increase this when using large numbers of + interfaces and/or routes.
Now imagine you are reading ip-sysctl.txt, the new text is all wrong. Something like:
Limit on the size of the ip route caches.
Ignored for ipv4 after kernel 3.6 because the ipv4 route cache was removed. Increase this when using large numbers of interfaces and/or routes.
would read better.
David
Quoted 16 lines · David Laight
From: Ani Sinha
Quoted 15 lines
Update documentation to reflect the fact that
/proc/sys/net/ipv4/route/max_sizeis no longer used for ipv4.Signed-off-by Ani Sinha <[email protected]>--- Documentation/networking/ip-sysctl.txt | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)Documentation/networking/ip-sysctl.txt +0
-0@@ -64,8 +64,10 @@ fwmark_reflect - BOOLEAN Default: 0
Quoted 14 lines
Documentation/networking/ip-sysctl.txt fwmark_reflect - BOOLEAN · line 70
Quoted 7 lines
Documentation/networking/ip-sysctl.txt +4
-2route/max_size - INTEGER - Maximum number of routes allowed in the kernel. Increase - this when using large numbers of interfaces and/or routes. + Post linux kernel 3.6, this is deprecated for ipv4 as route cache is no + longer used. For ipv6, this is used to limit the maximum number of ipv6 + routes allowed in the kernel. Increase this when using large numbers of + interfaces and/or routes.Now imagine you are reading ip-sysctl.txt, the new text is all wrong. Something like:
Limit on the size of the ip route caches.
Ignored for ipv4 after kernel 3.6 because the ipv4 route cache was removed. Increase this when using large numbers of interfaces and/or routes.
would read better.
Ok please take a look at my patch v2.