SUNRPC: Handle EADDRINUSE on connect
authorTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 02:44:04 +0000 (21:44 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 9 Feb 2015 02:47:27 +0000 (21:47 -0500)
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>
net/sunrpc/clnt.c
net/sunrpc/xprtsock.c

Simple merge
Simple merge