Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5439827pxb; Sun, 13 Feb 2022 21:53:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTdGOxWrN6Ccr3QVFb02zfMHK5LVKc4mzRO6zLupX4CZMY95CU+OD/2KbAOMAwQ+CngElZ X-Received: by 2002:a17:90b:3503:: with SMTP id ls3mr12997752pjb.76.1644818002560; Sun, 13 Feb 2022 21:53:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644818002; cv=none; d=google.com; s=arc-20160816; b=p2H0uzuv2dC+TQslVuk9RqmnvXuHrfWC/d3vDLTxRTMXJXItRA9yVRdgPmaaUzqauV hRtik1wQWkChDPXKvzQvqIFLv0ENKqt/me4AVscJIK2vYxViD3qhq2myI/mNAfewb1ne Ew+s9RONrT9qyKawz6pYJwNS9Aq0t+Po5xWMpjAExfZ9kkrsIfMwnda4ypGGSOgD02oW zmSpd6+sgCkdrrUkkx6j0r25zCnmPZyPzs0qZDfq69ZGZWCZth4OAlczkoRtURrEwEq3 2J8YZdG20ZrqC7yQt6DnKS8ydCh/qaWCj7xoLyyUVOH2OhcwwX4KLUIinBgSOXQ+Ub/1 fdfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature:dkim-signature; bh=FwpXgRHkKOnxGkgH2V9GHUXNJiCu/ssAJnUnC7PmQaI=; b=zFqFnls1A/N/dnAPvyfayJDSboNlRVeIPN/vvIaU5tflPcfTe95ZNacakqI6rzrHsg jtLqxvpeTM3ErX5gpsDgab/L5SFi5lBGkf/6XjimM1Vlv4i7xcz9fys6CNjbVfJzr6KY domFRxDJgW6sqXnPS7RgCjPNeNTEeNOt6xcthoeN/7OBY+4Vv9eBFDqlz+v5Knww+UV8 nLZYR5PcsQu8WpEQyc9zEV+2unUEYScFE5Vvhb1O4H/lWABlaZaY7+exCMrHJxQ1YJ26 fzxEBUWgI84NvXOCJlPQ8PIem+E+Lf2w3kMh9eOTWNa1qwsdxWYDO0j3WVA8cV4Nx4ca o6Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@themaw.net header.s=fm2 header.b=BC798HSJ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=m3oOoN5b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y16si3063580plr.504.2022.02.13.21.53.01; Sun, 13 Feb 2022 21:53:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@themaw.net header.s=fm2 header.b=BC798HSJ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=m3oOoN5b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240484AbiBNFlT (ORCPT + 99 others); Mon, 14 Feb 2022 00:41:19 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:39928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235084AbiBNFlR (ORCPT ); Mon, 14 Feb 2022 00:41:17 -0500 X-Greylist: delayed 374 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 13 Feb 2022 21:41:08 PST Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 193FF4EA18; Sun, 13 Feb 2022 21:41:07 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 650673200D78; Mon, 14 Feb 2022 00:34:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 14 Feb 2022 00:34:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=themaw.net; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; bh=FwpXgRHkKOnxGk gH2V9GHUXNJiCu/ssAJnUnC7PmQaI=; b=BC798HSJ7e7u3jkh9OrLq5my9B4tLn tXgji4leFe0NI/Dw9Vj8wzpQko66NYAq0ikQM/jyo1WJtxpPVdCu2nx7DJYMcocK WlTyLnn6kIt2cNyUc2Zs4v9GkZpNHMT7OrDeOc0M4ErnLa6VD65DAb2T7QQCr6br LZMiYbZbeLU7iCeRcZDJfnOEZUd1BPyHA/iy2qHU+552006Jf7p6gnY4G94EwpLH ZZ2GkQ7sCPgLmNIcXyhIENpmhYZ2RX4OR/+qTfETKIeqZkE5nj2mVVt0Nv0sGKvA hfTNvXikYZFaygCeRdbyd8ufh3+td53Jdr/4qjArpw35k5qek54EEOkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=FwpXgRHkKOnxGkgH2V9GHUXNJiCu/ssAJnUnC7PmQ aI=; b=m3oOoN5bGKTNrL7MiWfJ/tln8VgqzV7RT4TlMO/dory7wzYWzBIylZi4y IXpzOS5pw/3SQPbstTRd5I7VwS29ol1cngkBfDqhZRjofsNsZQpV2w6+JUo5ZWIN uYemA2UA4S0becx2E+imXzw1MMcvGC3znqMb2qFlcRVhvyxKjoG3uE2NE1VjQQZW O0iN3ep99eN92Dge23nRDGh+/2MW0MGb7sO3gTwexByuId7SFjvezq1KZW3Gl2VS tOXttx5Czrt94V+pJlEzPQcwxLm6GYF3R0c/OM9lLyxIYyUwCdnYQ3DtBepcB2t+ Wrbpii2+km2KeDkuuq5sQnLEjxlkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrjedugdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkffuhffvffgjfhgtfggggfesthekre dttderjeenucfhrhhomhepkfgrnhcumfgvnhhtuceorhgrvhgvnhesthhhvghmrgifrdhn vghtqeenucggtffrrghtthgvrhhnpefgleelkeetheelgeehueejueduhfeufffgleehgf evtdehhffhhffhtddugfefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehrrghvvghnsehthhgvmhgrfidrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 14 Feb 2022 00:34:49 -0500 (EST) Message-ID: Subject: Re: [ANNOUNCE] autofs 5.1.8 release From: Ian Kent To: NeilBrown Cc: autofs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 14 Feb 2022 13:34:46 +0800 In-Reply-To: <164444398868.27779.4643380819577932837@noble.neil.brown.name> References: <164444398868.27779.4643380819577932837@noble.neil.brown.name> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3 (3.42.3-1.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2022-02-10 at 08:59 +1100, NeilBrown wrote: > On Tue, 19 Oct 2021, Ian Kent wrote: > > Hi all, > > > > It's time for a release, autofs-5.1.8. > > > ... > > - also require TCP_REQUESTED when setting NFS port. > > Unfortunately that last patch is buggy.  TCP_REQUESTED is masked out > in > the caller. Mmm ... sounds like I've made a mistake there. I'll need to sort that out, thanks for pointing it out. > > Maybe the following is best. > > NeilBrown > > From: NeilBrown > Subject: [PATCH] Test TCP request correctly in nfs_get_info() > > The TCP_REQUESTED flag is masked out by the caller, so it never gets > to > nfs_get_info(). That wasn't my intent, I'll need to look at it again. The case I'm trying to cover is fairly specific so I will need to look at it again. Ian > We can test if TCP was requested by examining the 'proto' parameter. > > Signed-off-by: NeilBrown > > diff --git a/modules/replicated.c b/modules/replicated.c > index 09075dd0c1b4..3ac7ee432e73 100644 > --- a/modules/replicated.c > +++ b/modules/replicated.c > @@ -291,7 +291,7 @@ static unsigned int get_nfs_info(unsigned logopt, > struct host *host, >   >         rpc_info->proto = proto; >         if (port < 0) { > -               if ((version & NFS4_REQUESTED) && (version & > TCP_REQUESTED)) > +               if ((version & NFS4_REQUESTED) && (proto == > IPPROTO_TCP)) >                         rpc_info->port = NFS_PORT; >                 else >                         port = 0; >