Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1531409pxb; Wed, 2 Feb 2022 07:05:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwirfMrfS/RdZkMwpNLUl1u58BMCHGUJQtBQ0GduIBlvbCz5r5Fc24DpWDboOytKBG8zuyT X-Received: by 2002:a17:907:1c12:: with SMTP id nc18mr25540919ejc.669.1643814338892; Wed, 02 Feb 2022 07:05:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643814338; cv=none; d=google.com; s=arc-20160816; b=KuLfBF5I7KwaVLvH9v1+yldOk1hC/1hviXvtHITm4B6yAOg8/TzOy3yaZMeh9bOhOn SfVp+t+04uporOSkmlv5fQ2cLaa5t1Xm7+0mQuogggpH3wagU3VPOCrfGzKSnVNsDWyD 5tgVlDgug/mtT3QA1nEMH4aQ2Dd4WB/qJmMqiil4tZtrlO0drHwwjPp3QdhXzhxDiH/S cYQPOslpvq1sjlOI7HwTMqLDt33pMiTZogxIDVK4mM1RT0+11lDlwQm7txLjKJq8nuoO 3CcX5mK+VS9smZiBq7s+126uHsHGXw0qiPI1dKODhA/pHv7I+LtSblzcwcpc3Yt0I8aJ 8Spw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=L+KOqC38ZkY5I+cLYbO9Csq1OYp+SUPKktP/+Toa+P8=; b=gFDiMhPFwwh4rEIHBQzsuARNj11WiH4d+4FfiurYBag/6i0NdaLm1XT/pvO3mXhgmz klXcunC2DiLaOuKdKbkf50agU+JpR8tqMigyRz3+PPSFmcj7XSpzVtTAoxG/DYLTQwrf Sok9mZmpCFxkkUX4k/9qrnWZ11S/U1jm6lCRjOk+3ngISFehhQApleiB4oXB+CiY0QF5 qyaqF4493VN4WsQIntWk76SqtXgwuFQuD75ElLArtbHJe5SUKt026PVAuMvRdOchr14h RFL9MJ3slp2gaeSpUKQwVFqiGQhNb1bKw6Cw0SgRjzRd91wvh5R8jg8gAchGH75B/8Zh f0hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mJjPOzhC; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14si11200097eda.252.2022.02.02.07.05.12; Wed, 02 Feb 2022 07:05:38 -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=@kernel.org header.s=k20201202 header.b=mJjPOzhC; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244657AbiBBEuT (ORCPT + 99 others); Tue, 1 Feb 2022 23:50:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244628AbiBBEuO (ORCPT ); Tue, 1 Feb 2022 23:50:14 -0500 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4995CC061714; Tue, 1 Feb 2022 20:50:14 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id A2945CE1B30; Wed, 2 Feb 2022 04:50:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E3A67C340EB; Wed, 2 Feb 2022 04:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643777409; bh=S1N+LKKmMr5oFefOOaMLMoDXO5iNBnO6JoUi5MjN7+c=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=mJjPOzhCn7V+phwr2ahKN8y3DK4gX6j2ABMpvECYSKyu3/VRdQKN52R0xOkEnFK0W 2ER3twklWbfPbQ0q7sDEPpKNqaTE+tfeU5lxl8hdGK8q5ujsL8rvrE1OketWPDA79y afHW012oXjsGJ+WDk4TH+zKQbFPkfk07h3IoGD0QdUmnftuWhRyZ9QEbZILT8M0nG6 8Nifgy7Z9VtaXHj5ql2PfRvd9BStjisjNiVHcbdEQWqGL2pyncoHQoi+m8YzGrE1ac q3kHXkBwq8Qph5Q71VcmpRm8kgxGqH4x7P6fVbWGrqhOgzKtN8QK8IqqXvO/kxx3Vg iJRAc3e1TZrfw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id C79CDE6BB76; Wed, 2 Feb 2022 04:50:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net] net: macsec: Verify that send_sci is on when setting Tx sci explicitly From: patchwork-bot+netdevbpf@kernel.org Message-Id: <164377740980.22410.8708955715372677220.git-patchwork-notify@kernel.org> Date: Wed, 02 Feb 2022 04:50:09 +0000 References: <1643542672-29403-1-git-send-email-raeds@nvidia.com> In-Reply-To: <1643542672-29403-1-git-send-email-raeds@nvidia.com> To: Raed Salem Cc: sd@queasysnail.net, kuba@kernel.org, hannes@stressinduktion.org, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, liorna@nvidia.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (master) by Jakub Kicinski : On Sun, 30 Jan 2022 13:37:52 +0200 you wrote: > From: Lior Nahmanson > > When setting Tx sci explicit, the Rx side is expected to use this > sci and not recalculate it from the packet.However, in case of Tx sci > is explicit and send_sci is off, the receiver is wrongly recalculate > the sci from the source MAC address which most likely be different > than the explicit sci. > > [...] Here is the summary with links: - [net] net: macsec: Verify that send_sci is on when setting Tx sci explicitly https://git.kernel.org/netdev/net/c/d0cfa548dbde You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html