summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Tenart <atenart@kernel.org>2023-05-23 18:14:53 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-05-25 13:20:45 +0200
commit7016eb738651ed1dfeef2bbf266bc7dac734067d (patch)
treed7f96fb0f8de6cadd9f3d429fe8425f9caf6987c
parentnet: ipv4: use consistent txhash in TIME_WAIT and SYN_RECV (diff)
downloadlinux-7016eb738651ed1dfeef2bbf266bc7dac734067d.tar.xz
linux-7016eb738651ed1dfeef2bbf266bc7dac734067d.zip
Documentation: net: net.core.txrehash is not specific to listening sockets
The net.core.txrehash documentation mentions this knob is for listening sockets only, while sk_rethink_txhash can be called on SYN and RTO retransmits on all TCP sockets. Remove the listening socket part. Signed-off-by: Antoine Tenart <atenart@kernel.org> Reviewed-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-rw-r--r--Documentation/admin-guide/sysctl/net.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/admin-guide/sysctl/net.rst b/Documentation/admin-guide/sysctl/net.rst
index 466c560b0c30..4877563241f3 100644
--- a/Documentation/admin-guide/sysctl/net.rst
+++ b/Documentation/admin-guide/sysctl/net.rst
@@ -386,8 +386,8 @@ Default : 0 (for compatibility reasons)
txrehash
--------
-Controls default hash rethink behaviour on listening socket when SO_TXREHASH
-option is set to SOCK_TXREHASH_DEFAULT (i. e. not overridden by setsockopt).
+Controls default hash rethink behaviour on socket when SO_TXREHASH option is set
+to SOCK_TXREHASH_DEFAULT (i. e. not overridden by setsockopt).
If set to 1 (default), hash rethink is performed on listening socket.
If set to 0, hash rethink is not performed.