summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2019-08-16 05:55:19 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2019-08-26 22:31:29 +0300
commit80f455da6cd0998a5be30a8af24ea2a22815c212 (patch)
tree50178ee8c93b09b5091b83ddd04d3662af0c3027 /net/sunrpc/xprt.c
parentbf2bf9b80e0cd3568ddc85a241abe0dd8b46ebdc (diff)
downloadlinux-80f455da6cd0998a5be30a8af24ea2a22815c212.tar.xz
SUNRPC: Handle EADDRINUSE and ENOBUFS correctly
If a connect or bind attempt returns EADDRINUSE, that means we want to retry with a different port. It is not a fatal connection error. Similarly, ENOBUFS is not fatal, but just indicates a memory allocation issue. Retry after a short delay. Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions