commit | 80f455da6cd0998a5be30a8af24ea2a22815c212 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Thu Aug 15 22:55:19 2019 -0400 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Aug 26 15:31:29 2019 -0400 |
tree | 50178ee8c93b09b5091b83ddd04d3662af0c3027 | |
parent | bf2bf9b80e0cd3568ddc85a241abe0dd8b46ebdc [diff] |
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>