diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-01 19:36:08 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-08-01 21:03:02 +0200 |
commit | 1f4c17a03ba7f430d63dba8c8e08ff1e2712581d (patch) | |
tree | 9299a87435b74381c056cb673d8b84475992fc05 /net/sched/em_meta.c | |
parent | pNFS: Actively set attributes as invalid if LAYOUTCOMMIT is outstanding (diff) | |
download | linux-1f4c17a03ba7f430d63dba8c8e08ff1e2712581d.tar.xz linux-1f4c17a03ba7f430d63dba8c8e08ff1e2712581d.zip |
SUNRPC: Handle EADDRNOTAVAIL on connection failures
If the connect attempt immediately fails with an EADDRNOTAVAIL error, then
that means our choice of source port number was bad.
This error is expected when we set the SO_REUSEPORT socket option and we
have 2 sockets sharing the same source and destination address and port
combinations.
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Fixes: 402e23b4ed9ed ("SUNRPC: Fix stupid typo in xs_sock_set_reuseport")
Cc: stable@vger.kernel.org # v4.0+
Diffstat (limited to 'net/sched/em_meta.c')
0 files changed, 0 insertions, 0 deletions