Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4907184rwb; Mon, 21 Nov 2022 13:40:19 -0800 (PST) X-Google-Smtp-Source: AA0mqf6FTEhuRdZi1Kpk0DtDSFRhDW6J2rWozDEJIvHoCkTSfqUqpYupHot12CEodres4xxf1lhT X-Received: by 2002:aa7:cc08:0:b0:461:8a43:e93 with SMTP id q8-20020aa7cc08000000b004618a430e93mr17406777edt.275.1669066819653; Mon, 21 Nov 2022 13:40:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669066819; cv=none; d=google.com; s=arc-20160816; b=EWZPq4n1EBMgBNGtVKUMN6JRd+9f4X0sAhQC0F/sMmvhA0DFOkvUjI6fISOfadCUdQ 68/95aVktAneQFcnRTNVJ4p/fYkI9DaGpPClUcL3iYt5rjIfDzlnIWb3pwQn7TwtMNwz M05NOoJU8U/qv9dBpeEMlykl1XaRJmF6n12vRQ77Me3ky1/KslJYnElmd0jzuxWAsh6/ yHNqET9X88x82L/ec2Is41PZEmHPww9PEj0Kn85YUBQMNxcB++egy8ImS+odqmjaqGC+ JPfn0cLommWxvM5F4v0GNq0mW6dDGka35QUbQfhN0tM0gq94sLLfHMT/FyA+0HE32JnL 8vFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=10ZFDYKk9wd8fhHDK1Vm52v8Semrqv5fRbpaid+M4YA=; b=HloA18GSqtXwmkHfppL0CNaU3gFVTkheYtRMahMYJHpibvgvHTLOV1jG7dYeJ4Dj0E H3FHAue72BTcDTTdf0ksG4sS5nr59AwUsBNjjOva1A9t8DrhCkQuE77eF+rUD5g5vX5b RNIEO0PSFrTcrUsD1S4XPtgxzLnCts4tjRP0CfIuAKsHPPa16qysKoL2iF3jEXVj/mXL j2FEBI+KT4iyRQABY+Y8rypQoJQe9HZn62vbhaUNt1fd7q1KNM+vePOPnex6gsp7Amnh dlA2snTFlw5h8FB9m5E8H9Dv3axTnXHivBPoSizTjyqTZL3p2UJGAMJdC9zZwA/47Wjk mLpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arista.com header.s=google header.b=R8JSwsmR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa24-20020a1709076d1800b007a39ad3da43si10722940ejc.714.2022.11.21.13.39.57; Mon, 21 Nov 2022 13:40:19 -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=@arista.com header.s=google header.b=R8JSwsmR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=arista.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230437AbiKUU43 (ORCPT + 91 others); Mon, 21 Nov 2022 15:56:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbiKUU41 (ORCPT ); Mon, 21 Nov 2022 15:56:27 -0500 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A2418CB9D3 for ; Mon, 21 Nov 2022 12:56:26 -0800 (PST) Received: by mail-wr1-x435.google.com with SMTP id x5so17590993wrt.7 for ; Mon, 21 Nov 2022 12:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arista.com; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=10ZFDYKk9wd8fhHDK1Vm52v8Semrqv5fRbpaid+M4YA=; b=R8JSwsmRVbWCIMp9M5gvqtgEgMpviBk8m4IsOB7SXT+eTmlQKusM9LqMirWTs500Tp QEpgbQgat9JmCU00yIc22n5Pu3f0KH3p+X9HkCQwfCzGNHwwdXfpQp2Sjkj3c6TlS1jj vjLuiYV+iFcuwdIMmUK8oIrTa+nyCh/OQa5uSOr2U5FBYkFk5QlRpQyhvINJF0lB7n28 dKPGiCkpzhNuL5b+HL+3ktCTAvYM5+S9hzAF2+4URS5tYkqCBEaWia4/QDT5z26u21rW IVn8yZ1xc2RMM4jbiFTc0DTBUYmlZrih70b4cK8ThWXObm+pztrSWv0gQVTeDKwQ0beT aPdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=10ZFDYKk9wd8fhHDK1Vm52v8Semrqv5fRbpaid+M4YA=; b=1kexdAwYgOkenocF2aFj8D5zDifg2hcMFCgydYNR+6N4jreeS9JK+5/8CywE5EuM4S cGoF3TVHgAFWhUKd3h03RXb00V5ugu+MuPyZm/TexhrJhsr/a9rVUzWW3CA/X3A/SLRN UabLJRSYEM/q8FIzn9W5fjyn0yQHFJI0jUWhYUjthDDhVVGGcYNEF+P6jmQIC9RPFcyN RVY/1LtC7V73TtXJfmmJ2h8u5WeMIaGOTOezxyp2IkVsI3VeBU55vZlFBMnHcGhD78fD 6XjwM2ILVI0Mo2+dRjgFkETVfhb6CjUNUlbOKzhr6ymwgyde10mwHjriR73BveHTKMiq Rhcw== X-Gm-Message-State: ANoB5pmc4v8oMWxPw8tti/XUJ1jaiwisF+GWAU986gZl3AX/bx/Lo/zB 5q7mUyDkvfO6z7oDqQWQJa2Fdg== X-Received: by 2002:a5d:5685:0:b0:235:f0a6:fafd with SMTP id f5-20020a5d5685000000b00235f0a6fafdmr12435195wrv.75.1669064185170; Mon, 21 Nov 2022 12:56:25 -0800 (PST) Received: from [10.83.37.24] ([217.173.96.166]) by smtp.gmail.com with ESMTPSA id f16-20020a5d50d0000000b00235da296623sm12109359wrt.31.2022.11.21.12.56.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Nov 2022 12:56:24 -0800 (PST) Message-ID: <5c899a02-cec1-07c9-1c1a-8747773ece0c@arista.com> Date: Mon, 21 Nov 2022 20:56:18 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v4 3/5] net/tcp: Disable TCP-MD5 static key on tcp_md5sig_info destruction Content-Language: en-US To: Jakub Kicinski Cc: linux-kernel@vger.kernel.org, David Ahern , Eric Dumazet , Peter Zijlstra , Ard Biesheuvel , Bob Gilligan , "David S. Miller" , Dmitry Safonov <0x7f454c46@gmail.com>, Francesco Ruggeri , Hideaki YOSHIFUJI , Jason Baron , Josh Poimboeuf , Paolo Abeni , Salam Noureddine , Steven Rostedt , netdev@vger.kernel.org References: <20221115211905.1685426-1-dima@arista.com> <20221115211905.1685426-4-dima@arista.com> <20221118191809.0174f4da@kernel.org> <31efe48a-4c68-f17c-64ee-88d45f56c438@arista.com> <20221121124135.4015cc66@kernel.org> From: Dmitry Safonov In-Reply-To: <20221121124135.4015cc66@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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 11/21/22 20:41, Jakub Kicinski wrote: > On Mon, 21 Nov 2022 20:31:38 +0000 Dmitry Safonov wrote: >>> Maybe it wouldn't be >>> the worst move to provide a sk_rcu_dereference() or rcu_dereference_sk() >>> or some such wrapper. >>> >>> More importantly tho - was the merging part for this patches discussed? >>> They don't apply to net-next. >> >> They apply over linux-next as there's a change [1] in >> linux-tip/locking/core on which the patches set based. >> >> Could the way forward be through linux-tip tree, or that might create >> net conflicts? > > Dunno from memory, too much happens in these files :S > > Could you cherry-pick [1] onto net-next and see if > > git am --no-3way patches/* > > goes thru cleanly? If so no objections for the patches to go via tip, > we're close enough to the merge window. That did go cleanly for me on today's net-next/main. >> I'll send v5 with the trivial change to rcu_dereference_protected() >> mentioned above. Thanks, Dmitry