Article View: linux.kernel.netdev
Article #21830Re: [PATCH net] net/sched: sch_cake: fix unintended tin override with cake_mq
From: patchwork-bot+netdevbpf
Date: Tue, 24 Nov 2026 14:10
Date: Tue, 24 Nov 2026 14:10
30 lines
9089 bytes
9089 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:
On Thu, 19 Nov 2026 10:43:57 +0100 you wrote:
> CAKE allows overriding the tin selection through skb->priority: if the
> major number of skb->priority matches the qdisc handle, the minor number
> selects the tin. With cake_mq, the per-queue CAKE instances are created
> through qdisc_create_dflt() and never get a handle assigned, so
> sch->handle is 0 for all of them.
>
> For forwarded IPv4 traffic, ip_forward() sets skb->priority from the TOS
> byte via rt_tos2priority() when net.ipv4.ip_forward_update_priority is
> enabled, which is the default. rt_tos2priority() returns 0, 2, 4 or 6,
> all with a major number of 0, which matches the handle of the cake_mq
> children. The minor number is then taken as a tin override and the DSCP
> mapping is skipped.
>
> [...]
Here is the summary with links:
- [net] net/sched: sch_cake: fix unintended tin override with cake_mq
https://git.kernel.org/netdev/net-next/c/7b75467462af
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179552940802.3557137.6295650996391216301.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370422-linux-kernel-netdev=dewy.ruReferences:
<20261119-cake_mq_fix_incorrect_tin_override-v1-1-3238122d09ca@tu-berlin.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder1.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-370422-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/sched: sch_cake: fix unintended tin override with cake_mq Date: Tue, 24 Nov 2026 14:10:08 +0000 Organization: Usenet Network Message-ID: <179552940802.3557137.6295650996391216301.git-patchwork-notify@kernel.org> References: <20261119-cake_mq_fix_incorrect_tin_override-v1-1-3238122d09ca@tu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="4153128"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:JYsd4RbvxVsjgYAt/+ECgP7Enxk= sha256:ufMxGSAD/x8aAwfrnVuUXGAztVCTgWVmJsf/7hRKjzY= sha1:IFKMAqG27M8U7hKe0RM4AF2Bv7o= sha256:L6FNJFZYXo1N6d8htQayqhajoWUhNGiBM/HsBUhYfKk= 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 3EC24125E19; Tue, 24 Nov 2026 17:12:08 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 vvgaoPJCqd9v; Tue, 24 Nov 2026 17:12:04 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-370422-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 6AA77125E18; Tue, 24 Nov 2026 17:11:56 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 3AF913572B; Tue, 24 Nov 2026 14:11:04 +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=1795529411; b=VbChrHK4RWCj5cwYyliZXjQpSM1eZmYL5ULwmgJn3pT3RDyoiueDC73B6RQOgDLUB7Nn gKaKiLnUwtTyyQ01kwMpBwT+e6i3T4a8tkjowWUsJ9I3NdSg/ocTkVHSyKka+6tTBgLso nR2rGmOBdUOSwM9K0rPVYlEcO1e8TbqAmWtLdyWJDffOSyzwlHCgBiHbHS/kD4S2t9Qou oqTMqK7+FE4lcsRyEgPIcNOuJ2f+qhCXQAeOIBlfkmriYGw4tokF/4zXkVYEnRU8h4kE4 5Ht75an2+91fEk/8lSid2Uf3wGpuH9SUZB+EyXIgiQ6NqjX1cq70TpVgSRTKhzWTseQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795529411; 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=2F33fJJ196T7IHOr3O9jDTp+8XN2H9SHjKysdDpLZ9I=; b=C5y+CCQAhwLTrepY+xQI174HD9aj+yCfKeIfKmDHGtzKY5f4RY8c/UCbZRr0dF8rPaxc TLWsEuTau+q7+BqKaxHdRrGXJVQznC4CM6GGaGL19lx8F8ptJLMziETIKZ+PWCtb/aqXP b3Qhx/zRgmXzHH5xb9EeR/2e9AW1scHSyZXkjL4wLiAct7HyFZrikbn2keilxQwCHUWOR JHXhUouraaIyPnv61h2suBh4ezgVSD7d0MgGnlmbdGAsF27me0LjtAXX1qzl03S/8OHWR UxtOPS+HmQqtMIpxOvEJ15jgfOZlsHJlLa1yfRhHjY3ow8gyLTyB1mWFPWZVfCsvI5g== 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=Oog8CgNz; 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 016BC606A332; Tue, 24 Nov 2026 14:10:11 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Oog8CgNz 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=1795529410; b=YezZ46bhPwZm8tNUs863qk/jrASbyHhjetGJ3j0jYsozCHAQl8qgv0DbB7UoDqSowe3t ZMXcbsQKRidDovtgu8PCQoHBrpp0EnG9a7xN+/Bur3vbf42GYCtUrr7EbMHfBf7q+dOHh fnBC1+UqmaRyCZc/U6bw0kTmI1bP3ADkKERrlmMIdq6ssnMBfAHz5rgT3o7PdnFgubl+N bQ4m89XI/k8sPelAAf6WumZJ011+36Scpqh15lBgYSkPkIHd6cJB2WeWsotOAKSeD9vHr rTW9cKffNwnNLeteqrjLYF8NGIgyMe4iWFozsbNgiKb7LMP3S9igVXXFqvtYTnRSLkw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795529410; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=2F33fJJ196T7IHOr3O9jDTp+8XN2H9SHjKysdDpLZ9I=; b=fHnQDdaDHpeFyAER5cE66f/z2Wu5ZCkeC4l2NacZDAS4oIXLiJEoFTl1QKkKtcUZ+Kup gr7RCgphPKRsx4/W2O2iGRAaiWsizi/XwDyXSMeQtxlzSLQVSuTcatvwlU5iljTOQJiGZ HqzmmZF8blVMAI77GTl1NGCD1+eC9X6GTe1OYY9naCAl2w9Qtjjpm995f5M24/2wrDceq RH9CtVO8RYGi5ftBKQAIXjNfIX+xtRYMAFE8OlJLt8qhmRYOzZD0wjRDcOYThO/pRp0F2 4TC7rLkypIJc/PmYyZBTt9VGEwV8mkwY8BjBq1DortmCW+oDrYkK52yFv/vBnMaFHRg== 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=Oog8CgNz; 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 20B61606A6A5; Tue, 24 Nov 2026 14:10:09 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 813401F000D2; Tue, 24 Nov 2026 14:10:09 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795529409; bh=2F33fJJ196T7IHOr3O9jDTp+8XN2H9SHjKysdDpLZ9I=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Oog8CgNzq/1+vsCvFV4st+G+/YHyWCpLCF18I0P9McohANPE4BKH0HSf0ki9PvRSo +7cvM+rP1MZGiD9G1u9WWhO2gdzERqKqbSWEa1fDl7DbDlbIS7WFpjuJ+fszn/Kbnv i7RwG5xC/7oM9B9/bhRF12UqwD5Fy0XPHfGS56PtvNoHEOmvjqv1zc45v/eW4h5XRq cCSYgTu/1meO+BsQ1J5jyrw7qaJ40RJsU+yZ1PqR6jUfFWBCg//mt2ZRum4Ssz4ly4 dlMI7nZTL2BV6Qftqyp198e9OrmPWcC8nB50ax6cRmMPeubFVJhmJLjE83KcekyREL HqqUzlZKR0U/A== 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 774833931120; Tue, 24 Nov 2026 14:10:09 +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: <20261119-cake_mq_fix_incorrect_tin_override-v1-1-3238122d09ca@tu-berlin.de> X-Cc: toke@toke.dk, jhs@mojatatu.com, jiri@resnulli.us, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, willemb@google.com, toke@redhat.com, cake@lists.bufferbloat.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org