commit | 3913c78c3ab61500ddf7c2c9617cc4f8e2c583e0 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Sun Feb 08 21:44:04 2015 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Sun Feb 08 21:47:27 2015 -0500 |
tree | 9b77984e4d37c5a6aa79d3adcd32866604163e3b | |
parent | 4dda9c8a5e34773b290c6b5938ccb36e7fcdf35c [diff] |
SUNRPC: Handle EADDRINUSE on connect Now that we're setting SO_REUSEPORT, we still need to handle the case where a connect() is attempted, but the old socket is still lingering. Essentially, all we want to do here is handle the error by waiting a few seconds and then retrying. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>