Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp308313rdb; Thu, 16 Nov 2023 22:04:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHRTSfa4+uq9m1LhSwUZkWYYdUHzbKRzuxt93xOc1Q8RFPnZs1BjYJIvi1MF812i7gukFBx X-Received: by 2002:a05:6a20:daa6:b0:187:7af3:bb0c with SMTP id iy38-20020a056a20daa600b001877af3bb0cmr8014536pzb.58.1700201092413; Thu, 16 Nov 2023 22:04:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700201092; cv=none; d=google.com; s=arc-20160816; b=iof4WhYteMV7kQoKuqEZJcayfmr0ow0gv2s1JriRHC0WcdVvEu5Un1ubpW5wPkijkR Ika/gi8KHyCmRorQe30ME3GWQzVWurMRCVJHULpxO/kNgHXOPTf/71+QpJnUji2YYXaP +bOGh66NCOFFondEiReFi4thKhn9OmuSGmjFhYOx13XUBCrWp7/hi99z7XSRW4Njl1ov AsfIBsSgImGILd+r/YSTG3HRUmsfuuGs71F46bpw4xydx3YR3Wl/az0x9g2bWbT1KRE2 bwM5rvwpxPm2JgANHsWKRUsa101qkJkD+OE4at3fUE0MI3H4STAtKvcg7xkNnujeB6nJ XUPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:organization:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=f2OctoNzTAPL3sWJ35MWQU7AgQIDajOaReWZh5uw2X4=; fh=Iv1U5afeDJyXrc4eblFrFuyqxOQFvCC+nHaCQi0OSjs=; b=Z7sr+dXCPnb3f1luWR8QtoIR7Bmq29jhV9OiJKIe2SMgTuZV/tsYDW1qMAoLuTK3IT 4lSTTNYaELe4URvilOwYHuWFDRZs1KLh9EaZOv+erJ8o3non3WeCpTx4kBZEuJ7YLozG J0vGLZnWDL7uXawHshxyiYUZSld6H3CrF+3w8oLeURgPuE/VrqfHJNYwHC+Q6OqoG4Yx vODodAZPzqWMSC6ca2Mx1VWUbX3RKPcKVmHgwJQ3nxkqDeA9Vkl6uWzLt/eq/Q27gPeh A3P7abAKyGHTbWmBhRsXpQDOyYMdcvHbZ+5DbU6GWrpgbT7aOU+WAr3WIgxjzNyRZKtz L8YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@auristor.com header.s=MDaemon header.b=tyxqC1tW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=auristor.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id l16-20020a170902f69000b001bb20380bf9si1139157plg.545.2023.11.16.22.04.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 22:04:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=fail header.i=@auristor.com header.s=MDaemon header.b=tyxqC1tW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=auristor.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 2FB538068210; Thu, 16 Nov 2023 22:04:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229955AbjKQGEk (ORCPT + 99 others); Fri, 17 Nov 2023 01:04:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjKQGEj (ORCPT ); Fri, 17 Nov 2023 01:04:39 -0500 Received: from sequoia-grove.ad.secure-endpoints.com (sequoia-grove.ad.secure-endpoints.com [IPv6:2001:470:1f07:f77:70f5:c082:a96a:5685]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A6FB1A8 for ; Thu, 16 Nov 2023 22:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=auristor.com; s=MDaemon; r=y; t=1700201073; x=1700805873; i=jaltman@auristor.com; q=dns/txt; h=Message-ID:Date: MIME-Version:User-Agent:Subject:Content-Language:To:Cc: References:From:Organization:In-Reply-To:Content-Type; bh=f2Octo NzTAPL3sWJ35MWQU7AgQIDajOaReWZh5uw2X4=; b=tyxqC1tW5Q0SBJNCOhNdm7 Iy+NwIZQRscmphv/JNDILVUzFqP/FJqIsyJOXqa0gjWqpl4pyqZqxzQVlUQPjkzQ 4DUvo9LGuCXCaZT9oEhccVwwzJBT9AEMeiicO93Z4qDg4lfdH/PjeFs1re8Au+vY jiwwsg3plQ1uQkAEEwVb4= X-MDAV-Result: clean X-MDAV-Processed: sequoia-grove.ad.secure-endpoints.com, Fri, 17 Nov 2023 01:04:33 -0500 Received: from [IPV6:2603:7000:73d:b00:39f9:c05a:677:9528] by auristor.com (IPv6:2001:470:1f07:f77:28d9:68fb:855d:c2a5) (MDaemon PRO v23.5.1c) with ESMTPSA id md5001003746710.msg; Fri, 17 Nov 2023 01:04:33 -0500 X-Spam-Processed: sequoia-grove.ad.secure-endpoints.com, Fri, 17 Nov 2023 01:04:33 -0500 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 2603:7000:73d:b00:39f9:c05a:677:9528 X-MDHelo: [IPV6:2603:7000:73d:b00:39f9:c05a:677:9528] X-MDArrival-Date: Fri, 17 Nov 2023 01:04:33 -0500 X-MDOrigin-Country: US, NA X-Authenticated-Sender: jaltman@auristor.com X-Return-Path: prvs=16855eaa48=jaltman@auristor.com X-Envelope-From: jaltman@auristor.com X-MDaemon-Deliver-To: linux-kernel@vger.kernel.org Message-ID: Date: Fri, 17 Nov 2023 01:04:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net 2/2] rxrpc: Defer the response to a PING ACK until we've parsed it Content-Language: en-US To: David Howells , netdev@vger.kernel.org Cc: Marc Dionne , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org References: <20231116131259.103513-1-dhowells@redhat.com> <20231116131259.103513-3-dhowells@redhat.com> From: Jeffrey E Altman Organization: AuriStor, Inc. In-Reply-To: <20231116131259.103513-3-dhowells@redhat.com> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms000509070306010501090505" X-MDCFSigsAdded: auristor.com X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 16 Nov 2023 22:04:49 -0800 (PST) This is a cryptographically signed message in MIME format. --------------ms000509070306010501090505 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/16/2023 8:12 AM, David Howells wrote: > Defer the generation of a PING RESPONSE ACK in response to a PING ACK until > we've parsed the PING ACK so that we pick up any changes to the packet > queue so that we can update ackinfo. > > This is also applied to an ACK generated in response to an ACK with the > REQUEST_ACK flag set. > > Note that whilst the problem was added in commit 248f219cb8bc, it didn't > really matter at that point because the ACK was proposed in softirq mode > and generated asynchronously later in process context, taking the latest > values at the time. But this fix is only needed since the move to parse > incoming packets in an I/O thread rather than in softirq and generate the > ACK at point of proposal (b0346843b1076b34a0278ff601f8f287535cb064). > > Fixes: 248f219cb8bc ("rxrpc: Rewrite the data and ack handling code") > Signed-off-by: David Howells > cc: Marc Dionne > cc: "David S. Miller" > cc: Eric Dumazet > cc: Jakub Kicinski > cc: Paolo Abeni > cc: linux-afs@lists.infradead.org > cc: netdev@vger.kernel.org Reviewed-by: Jeffrey Altman --------------ms000509070306010501090505 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC DHEwggXSMIIEuqADAgECAhBAAYJpmi/rPn/F0fJyDlzMMA0GCSqGSIb3DQEBCwUAMDoxCzAJ BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEz MB4XDTIyMDgwNDE2MDQ0OFoXDTI1MTAzMTE2MDM0OFowcDEvMC0GCgmSJomT8ixkAQETH0Ew MTQxMEQwMDAwMDE4MjY5OUEyRkQyMDAwMjMzQ0QxGTAXBgNVBAMTEEplZmZyZXkgRSBBbHRt YW4xFTATBgNVBAoTDEF1cmlTdG9yIEluYzELMAkGA1UEBhMCVVMwggEiMA0GCSqGSIb3DQEB AQUAA4IBDwAwggEKAoIBAQCkC7PKBBZnQqDKPtZPMLAy77zo2DPvwtGnd1hNjPvbXrpGxUb3 xHZRtv179LHKAOcsY2jIctzieMxf82OMyhpBziMPsFAG/ukihBMFj3/xEeZVso3K27pSAyyN fO/wJ0rX7G+ges22Dd7goZul8rPaTJBIxbZDuaykJMGpNq4PQ8VPcnYZx+6b+nJwJJoJ46kI EEfNh3UKvB/vM0qtxS690iAdgmQI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