From: Ian Kent Subject: Re: autofs breaking nfs4 protocol by sending udp probes ? Date: Tue, 22 Jan 2008 11:08:15 +0900 Message-ID: <1200967695.3078.1.camel@raven.themaw.net> References: <478F7969.4080209@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <478F7969.4080209@inria.fr> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autofs-bounces@linux.kernel.org Errors-To: autofs-bounces@linux.kernel.org To: Guillaume Rousse Cc: autofs@linux.kernel.org On Thu, 2008-01-17 at 16:51 +0100, Guillaume Rousse wrote: > According to nfs4 developpers, autofs is suspect there: > http://linux-nfs.org/pipermail/nfsv4/2007-December/007332.html Please try this patch and let me know how it goes. Ian --- diff --git a/modules/mount_nfs.c b/modules/mount_nfs.c index 0e7aebe..df01fd6 100644 --- a/modules/mount_nfs.c +++ b/modules/mount_nfs.c @@ -129,7 +129,7 @@ int mount_mount(struct autofs_point *ap, const char *root, const char *name, int } if (strcmp(fstype, "nfs4") == 0) - vers = NFS4_VERS_MASK | NFS_PROTO_MASK; + vers = NFS4_VERS_MASK | NFS_TCP_SUPPORTED; else vers = NFS_VERS_MASK | NFS_PROTO_MASK;