Commit 7016eb73 authored by Antoine Tenart's avatar Antoine Tenart Committed by Paolo Abeni
Browse files

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: default avatarAntoine Tenart <atenart@kernel.org>
Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent c0a8966e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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.