]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit3913c78c3ab61500ddf7c2c9617cc4f8e2c583e0
tree9b77984e4d37c5a6aa79d3adcd32866604163e3b
parent4dda9c8a5e34773b290c6b5938ccb36e7fcdf35c
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>
net/sunrpc/clnt.c
net/sunrpc/xprtsock.c