From owner-svn-src-all@FreeBSD.ORG Sat Sep 19 21:44:17 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0F301065679; Sat, 19 Sep 2009 21:44:17 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 358DE8FC0C; Sat, 19 Sep 2009 21:44:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEALrttEqDaFvJ/2dsb2JhbADMH4QbBQ X-IronPort-AV: E=Sophos;i="4.44,416,1249272000"; d="scan'208";a="46946592" Received: from ganges.cs.uoguelph.ca ([131.104.91.201]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 19 Sep 2009 17:44:16 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by ganges.cs.uoguelph.ca (Postfix) with ESMTP id 30E90FB80C3; Sat, 19 Sep 2009 17:44:16 -0400 (EDT) X-Virus-Scanned: amavisd-new at ganges.cs.uoguelph.ca Received: from ganges.cs.uoguelph.ca ([127.0.0.1]) by localhost (ganges.cs.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xxf6bmAIuwgq; Sat, 19 Sep 2009 17:44:15 -0400 (EDT) Received: from muncher.cs.uoguelph.ca (muncher.cs.uoguelph.ca [131.104.91.102]) by ganges.cs.uoguelph.ca (Postfix) with ESMTP id 321DEFB801F; Sat, 19 Sep 2009 17:44:15 -0400 (EDT) Received: from localhost (rmacklem@localhost) by muncher.cs.uoguelph.ca (8.11.7p3+Sun/8.11.6) with ESMTP id n8JLnos00735; Sat, 19 Sep 2009 17:49:50 -0400 (EDT) X-Authentication-Warning: muncher.cs.uoguelph.ca: rmacklem owned process doing -bs Date: Sat, 19 Sep 2009 17:49:50 -0400 (EDT) From: Rick Macklem X-X-Sender: rmacklem@muncher.cs.uoguelph.ca To: John Baldwin In-Reply-To: <4AB495DD.1010006@FreeBSD.org> Message-ID: References: <200909171908.n8HJ8GQs067202@svn.freebsd.org> <4AB35086.90502@FreeBSD.org> <4AB495DD.1010006@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: svn-src-head@FreeBSD.org, Rick Macklem , svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r197298 - head/sbin/mount_nfs X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Sep 2009 21:44:18 -0000 On Sat, 19 Sep 2009, John Baldwin wrote: >> It happens that it still uses UDP for Portmapper by default and when >> "tcp" is specified, but that is down inside the libc functions and there >> are comments in them along the lines of "always use UDP first...", so >> I don't intend to change those. > > Hmm, it might actually be nice to be able to change those at some point as > well. I have looked at this in the past and it is quite deeply buried in > libc. :-/ > Well, the function is called __rpcb_findaddr_timed() and the "nconf" argument to it specifies udp or tcp in it, so I don't think it would be hard to change the function to use the info. in the nconf argument. The scary part would be finding out what breaks after you do it. The comment I alluded to is the following: /* * Try UDP only - there are some portmappers out * there that use UDP only. */ It looks like the newer rpcbind impelementations would be ok, but who knows until you try it?? I'd at least say it isn't a change for 8.0 imho, rick