Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp4137295rwn; Sun, 11 Sep 2022 06:02:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR7dzEHhAXisxBEWEY+GZXOcBfBuyxL/lc3qklFGpgfghSMEBs1jxWs/WqTubcGBsYeIAk+4 X-Received: by 2002:a17:90b:4b06:b0:1fb:29d0:7363 with SMTP id lx6-20020a17090b4b0600b001fb29d07363mr18433695pjb.12.1662901353983; Sun, 11 Sep 2022 06:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662901353; cv=none; d=google.com; s=arc-20160816; b=XwuCmLqzcH9oNKrniKE6FcUQAcJOuWUui+vNXsTQBhcU1jgZnkS0UyGW0h6Zwqobfm LbvxY1mmSXfZuJ9FO5ZsYO+84s9qI72nMv34FuYfMpWeG62onU6u188JpNqVTwAFQ2X2 t3sQFx4hF148PF1O08JWjsacTi/eBQkq8L7E4JOXFS1QFHYrgTBl80Q696c0/adf/u0n 7r8Xjq8g1uBmDI/ZsyloWQGnf7zMIGm6c5O1HtUmI8ZEGGSj1AILo1WrvUDL+lUTAoT8 12aCe3eRKW6DXyg/t5UDCwubhQ4GiAH++hWkMf3wVP+y+JXBaDji0XHcbPiNBp3YXpBS rnBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=8vaMoeYjOU4Ya9CPZ+eXCjB98/f3ybv3i3+bKPMU/0Y=; b=seawGm/c6mMXqI98owlSS4sSubT5HweD9uuCAwFZfkqRbKzS6VnyTa/CkTFCta2XAv 3uEGQ+R4F9t25F5eBYgyCWLCoXA7Ok5IkIn4hDRHbJzabvtZxyIsaMMkZ913JumSEzqG C9qGcSDB+pZle25HX8vN95d9ZhTjnR9TQf1nIUrvVIAk9IsocojClwXpnQJhhykAwBKZ evZ4JP6/6LA6W6BmgQ0lQUGPaC/pLL03boNHO5XKMbTIzLFxUnLhPG9Ux4sTMUsjfmQB vBiYZ6Dy5uZfHZuLC11B3q4b/7r9Lnb4p4gK+69btg370tPI0UlP3SoDKadI17bLGbVu bQqA== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 191-20020a6302c8000000b00438c64bda0bsi3640273pgc.162.2022.09.11.06.02.20; Sun, 11 Sep 2022 06:02:33 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230238AbiIKMnS (ORCPT + 99 others); Sun, 11 Sep 2022 08:43:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230103AbiIKMnQ (ORCPT ); Sun, 11 Sep 2022 08:43:16 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3E6B3334F for ; Sun, 11 Sep 2022 05:43:14 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-110-ec45KESrOn6H5-DrFmI1fQ-1; Sun, 11 Sep 2022 13:43:11 +0100 X-MC-Unique: ec45KESrOn6H5-DrFmI1fQ-1 Received: from AcuMS.Aculab.com (10.202.163.6) by AcuMS.aculab.com (10.202.163.6) with Microsoft SMTP Server (TLS) id 15.0.1497.38; Sun, 11 Sep 2022 13:43:12 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.040; Sun, 11 Sep 2022 13:43:12 +0100 From: David Laight To: 'NeilBrown' , Eugeniu Rosca CC: Greg Kroah-Hartman , Trond Myklebust , "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" , Michael Rodin , "Eugeniu Rosca" , Eugeniu Rosca Subject: RE: [PATCH 4.14 022/284] SUNRPC: avoid race between mod_timer() and del_timer_sync() Thread-Topic: [PATCH 4.14 022/284] SUNRPC: avoid race between mod_timer() and del_timer_sync() Thread-Index: AQHYwx4h9IHpyJYDe0qgG97udhdnBq3aKpgw Date: Sun, 11 Sep 2022 12:43:12 +0000 Message-ID: <1c8cdc749fa34486abd435a15ec201fc@AcuMS.aculab.com> References: <20220418121210.689577360@linuxfoundation.org>, <20220418121211.327937970@linuxfoundation.org>, <20220907142548.GA9975@lxhi-065> <166259870333.30452.4204968221881228505@noble.neil.brown.name> In-Reply-To: <166259870333.30452.4204968221881228505@noble.neil.brown.name> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam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