commit 253c6b866a1ed4678c30131a41ef96821bae9d5f From: Steve Dickson <steved@redhat.com> Doing a connect on UDP sockets causes the Linux network stack to reject UDP patches from multi-home server with nic on the same subnet which caused mounts to hang. Signed-off-by: Steve Dickson <steved@redhat.com> --- support/nfs/conn.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/support/nfs/conn.c b/support/nfs/conn.c index 89f7676..06afcc4 100644 --- a/support/nfs/conn.c +++ b/support/nfs/conn.c @@ -98,7 +98,7 @@ int get_socket(struct sockaddr_in *saddr return RPC_ANYSOCK; } } - if (type == SOCK_STREAM || type == SOCK_DGRAM) { + if (type == SOCK_STREAM) { cc = connect(so, (struct sockaddr *)saddr, namelen); if (cc < 0) { rpc_createerr.cf_stat = RPC_SYSTEMERROR;