🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #31

Re: [PATCH net 1/2] net/sched: cls_route: reject change with no routing attribute

#31
From: patchwork-bot+netdevbpf
Date: Wed, 07 Oct 2026 01:10
27 lines
6673 bytes
Hello:

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

On Thu,  1 Oct 2026 12:32:00 -0300 you wrote:
> route4_change on a filter change that supplies no routing attribute
> at all (no to/from/iif) reaches route4_set_parms with fold set, so the
> handle-mismatch check -- which only fires when creating -- is skipped.
> nhandle is built as the all-wildcard bucket (0x8000 | 0xFFFF << 16) and
> the filter is rekeyed to 0xFFFF8000, so the handle userspace already
> stored no longer addresses the filter. (The netlink reply carries the
> new handle; what goes stale is the handle the caller holds.)
> 
> [...]

Here is the summary with links:
  - [net,1/2] net/sched: cls_route: reject change with no routing attribute
    https://git.kernel.org/netdev/net/c/b72e025ac556
  - [net,2/2] selftests: tc-testing: add cls_route no-routing-attribute change tests
    https://git.kernel.org/netdev/net/c/6fa2e7db99fb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179133540553.2853870.2338348628143032646.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-342151-linux-kernel-netdev=dewy.ru
References: <QDISC-0JB3.v1.20260929143022@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-342151-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 1/2] net/sched: cls_route: reject change with no
 routing
 attribute
Date: Wed, 07 Oct 2026 01:10:05 +0000
Organization: Usenet Network
Message-ID: <179133540553.2853870.2338348628143032646.git-patchwork-notify@kernel.org>
References: <QDISC-0JB3.v1.20260929143022@mojatatu.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="549765"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:vKinlbPBlCHqtmuoaAuFfVMkaAQ= sha256:YdJUBIIc3d485iNgh7HFukUaRkEI/2U0gCcqiHz6AjU=
	sha1:wNx/lzHP/XKmt+kqqBZxCp779AQ= sha256:fortFYQgypmHB5dsy0AXmhINNfnJBAyrCd6oSLL8mEk=
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 ED3A710F0AD; Wed,  7 Oct 2026 04:10:20 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.341
X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, 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 7g2FwYAkZMxP;
	Wed,  7 Oct 2026 04:10:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-342151-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 9A05610F067; Wed,  7 Oct 2026 04:10:11 +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 A45B72BE7A; Wed,  7 Oct 2026 01:10:08 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 3781D30CD81;
	Wed,  7 Oct 2026 01:10:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="OWBtg5U+"
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 3A8AF1C3BFC;
	Wed,  7 Oct 2026 01:10:06 +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=1791335408; cv=none; b=HHgvMSZSQ6n/YmhLzhYzXXyN9RqQqwVhHWzH/iU6ynGwRn2kacmATRZSwIAEEj7NwSVFDwxXv5EiQ2ETEhT5UA+N5b0ysAIkouvA7WwSis4XsvcJqBnmOdrYY2kvZ4bC7h3XTys+t0prMR/TuqpOqILLYj3i72L4uUaUehd0zqg=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791335408; c=relaxed/simple;
	bh=cQdcxRpdoeNpjsaYHCEW+b01lYwJIMirtnRbKOc94+k=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=h89NhUZXRsiYOKThifgnI1rs891Ezk+S3luoQJjCLbwgjCSfVLsZof4ZwyZUBESYKkCc3OOVT14eo9SxA4uf1tpiCiWXprxYOqCoxZfMmp2QlTOHXIyh0ZckvyLPl2Hps/0h7wowwPOY6uUUC1VwcyA9/OooHnAj2XYOFeLktV8=
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=OWBtg5U+; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC7771F0089B;
	Wed,  7 Oct 2026 01:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1791335406;
	bh=L3gcB5mm6CS7zv1bVH8eLb8wFAAfCibYhSkNA042kqA=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=OWBtg5U+ewvUguAeFEybkIq1Zke3CGQeIx1ktOXhV7z0c9/m99kgh1qUvOc+0pMOa
	 EaF1Gf5/nN00ftBjnQ4XBAA1NRdSBTEcheCrfISW1l3I3stgO3N0f7DL2bHy17QN3J
	 iQ/h22Fb36uHtOcLKUCS+OlYDxaXTTNCfgL82Jn/UpZkcvTKg8OztU2mGE3aIA3DBh
	 OL7J4m0lJe4BFKipVnKQB/EPwBSuGOGpGedU8s9Eeep1+yHN85kbm0MT10p69WQ0Zk
	 6m1pQUUyfxrObbwaAo9FF5TLn7qsNaJ+NsmNDf9nKPC8dqK/F+DUBl/6baXKVfpfjZ
	 SI36atb/vub6A==
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 B44973806541;
	Wed,  7 Oct 2026 01:10:06 +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: <QDISC-0JB3.v1.20260929143022@mojatatu.com>
X-Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
 pabeni@redhat.com, jhs@mojatatu.com, jiri@resnulli.us,
 netdev@vger.kernel.org, horms@kernel.org, edumazet@kernel.org,
 stable@vger.kernel.org, hybris@mojatatu.ai, sashiko-bot@kernel.org