SUNRPC: Set the TCP_SYNCNT to match the socket timeout
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 19 Aug 2023 21:32:21 +0000 (17:32 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 24 Aug 2023 17:24:15 +0000 (13:24 -0400)
commit3a107f07403aa3bf0d604996a30922812e30f8a9
tree09141b0d4c69e35d0149ac830ba9f71382b55aaf
parent88975a55969e11f26fe3846bf4fbf8e7dc8cbbd4
SUNRPC: Set the TCP_SYNCNT to match the socket timeout

Set the TCP SYN count so that we abort the connection attempt at around
the expected timeout value.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtsock.c