Article View: linux.kernel.netdev
Article #3807Re: [PATCH net-next] macsec: check for duplicate SCIs before registering the device
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 02:10
Date: Fri, 16 Oct 2026 02:10
27 lines
6454 bytes
6454 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 11 Oct 2026 21:57:11 +0000 you wrote:
> From: Haseeb Malik <haseebulhaq55@gmail.com>
>
> macsec_newlink() registers and links the device before rejecting a
> duplicate SCI. Registration can emit link notifications for a device
> whose creation ultimately fails with -EBUSY.
>
> The SCI is already resolved before SecY initialization, so check for a
> duplicate there and return -EBUSY directly. Remove the now-unused unlink
> label while preserving cleanup for failures after registration.
>
> [...]
Here is the summary with links:
- [net-next] macsec: check for duplicate SCIs before registering the device
https://git.kernel.org/netdev/net-next/c/de3ef6921c00
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179211661277.15365.8704541160200567615.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347062-linux-kernel-netdev=dewy.ruReferences:
<20261011-macsec-early-sci-check-2b1f06af193f@gmail.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347062-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] macsec: check for duplicate SCIs before registering the device Date: Fri, 16 Oct 2026 02:10:12 +0000 Organization: Usenet Network Message-ID: <179211661277.15365.8704541160200567615.git-patchwork-notify@kernel.org> References: <20261011-macsec-early-sci-check-2b1f06af193f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2666774"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:uYXG9RW+ZrCly3aa350y/NbmQ/A= sha256:Eq7T0y+jpUNrlnBXHc9xkdzZTCdfta4ub8zUx+MI+aw= sha1:YOWRMyVQOLyA1i1F3GSeQFNd9+8= sha256:/TBCmXhkKoqZg4CPur07Q1HMgISzU4N+6ITi3iwV1oE= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 107B8110438; Fri, 16 Oct 2026 05:13:27 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.34 X-Spam-Status: No, score=-1.34 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EQAEFSStgWKQ; Fri, 16 Oct 2026 05:13:24 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347062-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C95A9110435; Fri, 16 Oct 2026 05:13:15 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 77A8D42F60; Fri, 16 Oct 2026 02:10:18 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 790E839CCF8; Fri, 16 Oct 2026 02:10:15 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="n5arWOq6" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 672EA396597; Fri, 16 Oct 2026 02:10:14 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792116615; cv=none; b=E+WcER47IN7aMp8clQl9hSAZR5iOXJNnbZjx9WTbSNNBz4YGSxAFkZJiGBvUoql9afpoE/QdI8fXav6JYQqt3VJI6xRvrOK7iAi0Em66JMygKw6rJI/XeKR1T7KwFd64ycB5Qi5F8qr51JCzhaoby0Yq/OzzKWnVM08eAbg9af4= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792116615; c=relaxed/simple; bh=HDcNXLX0ebqLfIIIZAyYCmZu2RHW/htp+k/tD/VkSug=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=WHb/R62NOO5hv4pzCEpG8Ob8h8eeXiIdfiAIrZfwWFR+dy3Njy9S7Q9x/wDexj7FOKp3350LAt0ArbWvBgdkrCu3g89PRpHYejMjxn3VwMluS0hoCVlEJGS8Ta6GfWfQVGuz7AbhNW/Mbt2gDFnJj1+L6yygOnpapXVJjTSkeAI= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=n5arWOq6; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 43C881F000C4; Fri, 16 Oct 2026 02:10:14 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792116614; bh=/8G0i+JZS8AjFlkfyzHRi4ZZaTJKWSRbfygBayHjiU8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=n5arWOq6fi1EMOskQrRWtoOCgoZrgdaRpH+eNgXD8hTTPhFWeWf8WHqjVSXvFOc32 MpVtO/oXRM+YnRmQmxNo0EKTSmrW68MyLrhJfPdymR6eA5yeXwHmTZtdGpK1VwF3Ps KN1i3u/b2JDkcyfrhx1mj3zeJUM35O/9WhbCMUMzQP9h6QPljJZo9OHRiookL07W5d VVYlA3qh+YP8NzygkU2jbM/D6Z0FryV9rREL9IS6HZ0v0yrrqKi0k1NzmTkQ60DKqo QSVtHFAdk8y6rkWtGa5X+lnDOGfkW70KQ3OMEtMQrGlqdPJvoPy8gnuVs/gZLf4ud0 yoVXxcNNiTdHA== X-Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 3A4AF3808209; Fri, 16 Oct 2026 02:10:14 +0000 (UTC) X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-In-Reply-To: <20261011-macsec-early-sci-check-2b1f06af193f@gmail.com> X-Cc: sd@queasysnail.net, netdev@vger.kernel.org, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, linux-kernel@vger.kernel.org