Re: [PATCH net-next v4] docs: net: sysctl documentation cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jun 22, 2025 at 09:27:24AM +0300, Abdelrahman Fekry wrote:
> @@ -1028,13 +1134,15 @@ tcp_shrink_window - BOOLEAN
>  	window can be offered, and that TCP implementations MUST ensure
>  	that they handle a shrinking window, as specified in RFC 1122.
>  
> -	- 0 - Disabled.	The window is never shrunk.
> -	- 1 - Enabled.	The window is shrunk when necessary to remain within
> +	Possible values:
> +
> +	- 0 (disabled)	The window is never shrunk.
> +	- 1 (enabled)	The window is shrunk when necessary to remain within
>  			the memory limit set by autotuning (sk_rcvbuf).
>  			This only occurs if a non-zero receive window
>  			scaling factor is also in effect.

The indentation for enabled option outputted like a definition list,
so I fix it up:

---- >8 ----
diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst
index 682428b8f20507..e20cef49adf75c 100644
--- a/Documentation/networking/ip-sysctl.rst
+++ b/Documentation/networking/ip-sysctl.rst
@@ -1136,11 +1136,10 @@ tcp_shrink_window - BOOLEAN

 	Possible values:

-	- 0 (disabled)	The window is never shrunk.
-	- 1 (enabled)	The window is shrunk when necessary to remain within
-			the memory limit set by autotuning (sk_rcvbuf).
-			This only occurs if a non-zero receive window
-			scaling factor is also in effect.
+	- 0 (disabled) - The window is never shrunk.
+	- 1 (enabled) - The window is shrunk when necessary to remain within
+	  the memory limit set by autotuning (sk_rcvbuf). This only occurs if
+	  a non-zero receive window scaling factor is also in effect.

 	Default: 0 (disabled)

Thanks.

-- 
An old man doll... just what I always wanted! - Clara




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux