Re: [PATCH] docs: ip-sysctl.txt: fix name of some ipv6 variables

2018-04-19 Thread David Miller
From: Olivier Gayot 
Date: Wed, 18 Apr 2018 22:03:06 +0200

> The name of the following proc/sysctl entries were incorrectly
> documented:
> 
> /proc/sys/net/ipv6/conf//max_dst_opts_number
> /proc/sys/net/ipv6/conf//max_hbt_opts_number
> /proc/sys/net/ipv6/conf//max_dst_opts_length
> /proc/sys/net/ipv6/conf//max_hbt_length
> 
> Their name was set to the name of the symbol in the .data field of the
> control table instead of their .proc name.
> 
> Signed-off-by: Olivier Gayot 

Good catch, applied, thank you.


[PATCH] docs: ip-sysctl.txt: fix name of some ipv6 variables

2018-04-18 Thread Olivier Gayot
The name of the following proc/sysctl entries were incorrectly
documented:

/proc/sys/net/ipv6/conf//max_dst_opts_number
/proc/sys/net/ipv6/conf//max_hbt_opts_number
/proc/sys/net/ipv6/conf//max_dst_opts_length
/proc/sys/net/ipv6/conf//max_hbt_length

Their name was set to the name of the symbol in the .data field of the
control table instead of their .proc name.

Signed-off-by: Olivier Gayot 
---
 Documentation/networking/ip-sysctl.txt | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Documentation/networking/ip-sysctl.txt 
b/Documentation/networking/ip-sysctl.txt
index 5dc1a040a2f1..b583a73cf95f 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -1390,26 +1390,26 @@ mld_qrv - INTEGER
Default: 2 (as specified by RFC3810 9.1)
Minimum: 1 (as specified by RFC6636 4.5)
 
-max_dst_opts_cnt - INTEGER
+max_dst_opts_number - INTEGER
Maximum number of non-padding TLVs allowed in a Destination
options extension header. If this value is less than zero
then unknown options are disallowed and the number of known
TLVs allowed is the absolute value of this number.
Default: 8
 
-max_hbh_opts_cnt - INTEGER
+max_hbh_opts_number - INTEGER
Maximum number of non-padding TLVs allowed in a Hop-by-Hop
options extension header. If this value is less than zero
then unknown options are disallowed and the number of known
TLVs allowed is the absolute value of this number.
Default: 8
 
-max dst_opts_len - INTEGER
+max_dst_opts_length - INTEGER
Maximum length allowed for a Destination options extension
header.
Default: INT_MAX (unlimited)
 
-max hbh_opts_len - INTEGER
+max_hbh_length - INTEGER
Maximum length allowed for a Hop-by-Hop options extension
header.
Default: INT_MAX (unlimited)
-- 
2.17.0