OSDN Git Service

SUNRPC: Prevent immediate close+reconnect
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 26 Oct 2021 22:01:07 +0000 (18:01 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 4 Nov 2021 23:46:19 +0000 (19:46 -0400)
commit3be232f11a3cc9b0ef0795e39fa11bdb8e422a06
tree273fc671f6aa2652a503818ba1b35f69fafcd751
parentd896ba8300ebd09e5fc9c43051d9eb36b65e996e
SUNRPC: Prevent immediate close+reconnect

If we have already set up the socket and are waiting for it to connect,
then don't immediately close and retry.

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