summaryrefslogtreecommitdiffstats
path: root/utils/gssd/err_util.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2009-07-14 16:26:42 -0400
committerSteve Dickson <steved@redhat.com>2009-07-14 16:26:42 -0400
commitaa633adcbe63b7539d23d7e0fb1342659cf22953 (patch)
treec96fa4d8ed819ef4579829ca3b0477613cbae64b /utils/gssd/err_util.h
parentdd0761b4852d9946efa86c7403e45b937462503f (diff)
downloadnfs-utils-aa633adcbe63b7539d23d7e0fb1342659cf22953.tar.gz
nfs-utils-aa633adcbe63b7539d23d7e0fb1342659cf22953.tar.xz
nfs-utils-aa633adcbe63b7539d23d7e0fb1342659cf22953.zip
getport: Restore historical TCP connect timeout error code
The latest versions of mount.nfs appear not to fall back to UDP if TCP isn't available on the server. Our new nfs_getport() implementation is missing a bit of logic from the original mount getport() implementation. Without it, nfs_probe_port() sees a TCP connect timeout as a permanent error, so it fails immediately instead of attempting to try again with UDP. Similar changes for our new ping API (see the old clnt_ping() function, which is still in utils/mount/network.c). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/err_util.h')
0 files changed, 0 insertions, 0 deletions