]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
SUNRPC: ECONNRESET might require a rebind
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 17 Sep 2023 13:06:05 +0000 (09:06 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sun, 22 Oct 2023 23:47:56 +0000 (19:47 -0400)
commit4b09ca1508a60be30b2e3940264e93d7aeb5c97e
tree3468904a8bb22626a96f789dea7a3b61be844acd
parent6e7434abcd07e8beb67fdc4af6207ae0490d5274
SUNRPC: ECONNRESET might require a rebind

If connect() is returning ECONNRESET, it usually means that nothing is
listening on that port. If so, a rebind might be required in order to
obtain the new port on which the RPC service is listening.

Fixes: fd01b2597941 ("SUNRPC: ECONNREFUSED should cause a rebind.")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c