🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #5220

Re: [PATCH net v2 0/3] net/sched: cls_bpf: accept dev-bound programs on shared blocks

#5220
From: patchwork-bot+netdevbpf
Date: Tue, 20 Oct 2026 00:50
31 lines
9460 bytes
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 10 Oct 2026 17:02:47 -0400 you wrote:
> This series fixes the regression where a device-bound SCHED_CLS program
> attached through a shared block is rejected even when it is bound to a
> netdev that owns the block, and closes the bind/reoffload replay hole a
> later-joining device would otherwise exploit.
> 
> Patch 1 gives netdevsim's cls_bpf TC block callback the device-match
> check nfp already has; the callback is the authoritative per-device
> acceptance boundary and the defect there predates the cls_bpf core
> change.
> 
> [...]

Here is the summary with links:
  - [net,v2,1/3] netdevsim: reject cls_bpf programs bound to another device
    https://git.kernel.org/netdev/net/c/5820ca58b409
  - [net,v2,2/3] net/sched: cls_bpf: accept dev-bound programs on shared blocks
    https://git.kernel.org/netdev/net/c/d305547d1632
  - [net,v2,3/3] selftests: net: exercise dev-bound cls_bpf on shared blocks
    https://git.kernel.org/netdev/net/c/866363c3cc40

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179245740678.3407717.8152429753344693059.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-348940-linux-kernel-netdev=dewy.ru
References: <QDISC-PYC7.v2.20261010165947@mojatatu.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-348940-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2 0/3] net/sched: cls_bpf: accept dev-bound programs
 on
 shared blocks
Date: Tue, 20 Oct 2026 00:50:06 +0000
Organization: Usenet Network
Message-ID: <179245740678.3407717.8152429753344693059.git-patchwork-notify@kernel.org>
References: <QDISC-PYC7.v2.20261010165947@mojatatu.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3752308"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:98/VxUev3BreAknnvdVAQ7uv4tg= sha256:ZQjbWXu2C6LIMXmtCSUB47XBNBY2X9yy4vrUQxRbBBo=
	sha1:BYBVZkEA6uqLC28r35mJlqggAUU= sha256:A1ZntOcxy3U4uU5+suHnKhdIBPYi6PkE/yUSLPyH9d4=
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 E667B110B99; Tue, 20 Oct 2026 03:50:38 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.729
X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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 r6Nu9uQYvVuj;
	Tue, 20 Oct 2026 03:50:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-348940-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4])
	by mail.dewy.ru (Postfix) with ESMTPS id C4C04110B7D; Tue, 20 Oct 2026 03:50:20 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sin.lore.kernel.org (Postfix) with ESMTP id 8E3CD282BD; Tue, 20 Oct 2026 00:50:16 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1792457414;
	b=14Eta/rerXsJiiSt9s7v0WFo3GaVNLQndxbmjW0cUDIYf/cQO5O6UoT1MlxpsKw9oIIX
	 7j9cJ3SBXIXiRjQ5YnPjkLtJXjK0HUurMVUGbbL8K6Drzf8bGGZDYAML+92ekt+R0DXIs
	 +7qyiEg2AimiddsqgfH+hDI2xaN9bWLXa6/Rr2zBFih1VtxCrcA+hcCmZw2HifZByG+9i
	 9GjSAks8FMH2JBUP8gZuQLUPPg5ANloYHqhupn6bQGjwQS73mt78VqpvJXGVMVt4cFrDb
	 68G85hprNKmcFA3DvV5nfhahEtjkZahJ06E7YU3G9V9avOMaiN+74xjGhfc4XZZRXmg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792457414;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=el9hJYBAjlZoS6JyxYpDl9voCiCbLdNbk8o8t7V70ZE=;
	b=mSyPBjpKEyZ3XG/XlAVb1j7b3G0m3R9XM7XmbeEsAfZT4ijfhVhY7p5D5DEUw4bRupCj
	 BNnLzUBOmCDNtFfiArecqnyMAPTYdgi3ZjTWFFe5wImpnfKtrhjvHXqZz7/rLbDKDJGHp
	 SfUyV47UYrGKBF3MxsMj2YB+WRivwXQDdSJxVs9lY23Wm5iSkurBWAyGZVvH7ivMPmIEy
	 bsa2QY5kBhHIn2oJL2J1dmgkw1za6gLJyqdf23E924Pd2Gi+fTcsI1xR2MKmcZwTpXB5s
	 2PFjGQ8ws0W6BxGlwiyOU8qaSfC/WUBSTZZ6AFGRwPLNZ4m6habIVLUZpYet7D17duQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JeKPmpIb;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A375D606A327;
	Tue, 20 Oct 2026 00:50:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JeKPmpIb
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1792457408;
	b=t18QNDQ3TiDbkflA35ISVXwEBqMGSTQTE//5AxHC8ItOybptFB9pro6INuut70xnasrH
	 vlD2yHkIBU/UpP0dnW9OyKqp4QViR5GXlYXlsZOMOLCmvuym77AJK/kSdSL8BwV/dPrR4
	 RiDuGZfcJkUKpHAJSkQDnnxvgTC781NVGYXK64Ul7Kxx9nEYq0c7m3z95cPADt4U0th1y
	 3D0s15xp/EQbh7JWQln+T9ObP1pZvkMeI67ljuwDCl085uX7sNhQpfmiyNjkbNkB00Ug4
	 E1PJ+kuGpBObkVmLUg/JgLGwgqfflffHL0pqHwhR6AcVUZ0WbtEy/YyAIEcEFebkZag==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792457408;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=el9hJYBAjlZoS6JyxYpDl9voCiCbLdNbk8o8t7V70ZE=;
	b=JYel754mX/UYujX1n5f55MRGdQapHQYPBiKaqRCW8JEFUzXEBIZcFq1nUm87x71rrTA0
	 Fkau0r/Eu1E5pwB5Gx1RFtuKMC4D39MMiiyCU1C24nzgbagXvzs5rZ8q2dMx3/QTOxAxd
	 F8SaCbASAUjziUB33OrmOdJtwXBpqHnWL9fYrtv3RRtlmtv1Eg4iT8SxYsyypAvI1GdiZ
	 Z9aQl8IY3+VBvI3Ccw3LpOU77zUVcRbOvgY7lzf8lNAnOkNraVwmQdynIqXXeRcX/J9f5
	 yVmZDxNcwcPBrQqbEY2xxPm+fPWc2JjnfcFT2XqXmgRmV8mLC31Z9ho8GeEWpIiBzQA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JeKPmpIb;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 799D0606A31A;
	Tue, 20 Oct 2026 00:50:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 073BE1F000C4;
	Tue, 20 Oct 2026 00:50:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792457408;
	bh=el9hJYBAjlZoS6JyxYpDl9voCiCbLdNbk8o8t7V70ZE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=JeKPmpIb7rioVU8KSVMTaPEL4qrczdF7iOjohijyh7IRKnr4hC+HhAvNd+L4TyUAa
	 mYj9nK3+AkWuDVICQSrEX5wouJKb65VHUpLGfm+YZZ+sfusp09sW4bOs2vMKzhNM9u
	 hEvNxg72gLhb9akdTTjPUJfPE1nFmTB2IahrvBS5o7NxoAx8E/FDPBe1rfMWItzFYU
	 fNsOauJr/M6S1oaqjmGfr1oI+VBPhyF16WmUmFH8SomJ7gA+o0Vu/b0RuDCE/AboDg
	 cIbCxT+oeHh9w5yzBhj0HjFMTRVU4mfnR0Ket1ybdB9fADVYqSDc/eBYPeS2J3xeIG
	 bZYeJ8/Nr/sug==
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 F15633924A6F;
	Tue, 20 Oct 2026 00:50:07 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <QDISC-PYC7.v2.20261010165947@mojatatu.com>
X-Cc: netdev@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
 andrii@kernel.org, eddyz87@gmail.com, memxor@gmail.com, martin.lau@linux.dev,
 song@kernel.org, yonghong.song@linux.dev, jolsa@kernel.org,
 emil@etsalapatis.com, ihor.solodrai@linux.dev, john.fastabend@gmail.com,
 sdf@fomichev.me, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, jiri@resnulli.us, bpf@vger.kernel.org,
 stable@vger.kernel.org, sashiko-bot@kernel.org, victor@mojatatu.com,
 shuah@kernel.org, linux-kselftest@vger.kernel.org, andrew+netdev@lunn.ch