All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: Correct type of tcp_syncookies sysctl.
@ 2020-01-03  0:08 David Miller
  2020-01-03  8:01 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2020-01-03  0:08 UTC (permalink / raw)
  To: netdev


It can take on the values of '0', '1', and '2' and thus
is not a boolean.

Signed-off-by: David S. Miller <davem@davemloft.net>
---
 Documentation/networking/ip-sysctl.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied and pushed out to 'net'.

diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
index fd26788e8c96..48ccb1b31160 100644
--- a/Documentation/networking/ip-sysctl.txt
+++ b/Documentation/networking/ip-sysctl.txt
@@ -603,7 +603,7 @@ tcp_synack_retries - INTEGER
 	with the current initial RTO of 1second. With this the final timeout
 	for a passive TCP connection will happen after 63seconds.
 
-tcp_syncookies - BOOLEAN
+tcp_syncookies - INTEGER
 	Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
 	Send out syncookies when the syn backlog queue of a socket
 	overflows. This is to prevent against the common 'SYN flood attack'
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: Correct type of tcp_syncookies sysctl.
  2020-01-03  0:08 [PATCH] net: Correct type of tcp_syncookies sysctl David Miller
@ 2020-01-03  8:01 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2020-01-03  8:01 UTC (permalink / raw)
  To: David Miller; +Cc: netdev

On Thu, Jan 02, 2020 at 04:08:18PM -0800, David Miller wrote:
> 
> It can take on the values of '0', '1', and '2' and thus
> is not a boolean.
> 
> Signed-off-by: David S. Miller <davem@davemloft.net>

Reviewed-by: Simon Horman <simon.horman@netronome.com>

> ---
>  Documentation/networking/ip-sysctl.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Applied and pushed out to 'net'.
> 
> diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt
> index fd26788e8c96..48ccb1b31160 100644
> --- a/Documentation/networking/ip-sysctl.txt
> +++ b/Documentation/networking/ip-sysctl.txt
> @@ -603,7 +603,7 @@ tcp_synack_retries - INTEGER
>  	with the current initial RTO of 1second. With this the final timeout
>  	for a passive TCP connection will happen after 63seconds.
>  
> -tcp_syncookies - BOOLEAN
> +tcp_syncookies - INTEGER
>  	Only valid when the kernel was compiled with CONFIG_SYN_COOKIES
>  	Send out syncookies when the syn backlog queue of a socket
>  	overflows. This is to prevent against the common 'SYN flood attack'
> -- 
> 2.20.1
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-03  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-03  0:08 [PATCH] net: Correct type of tcp_syncookies sysctl David Miller
2020-01-03  8:01 ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.