From mboxrd@z Thu Jan 1 00:00:00 1970 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 2E49E374A0E for ; Sun, 21 Jun 2026 22:20:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782080432; cv=none; b=arFSpbZNkJIPKKLRuc65ad+skX+t9D4d+ZRqjqsGlycSx9K1X7Ozrx+CXC4fq+3xN9F+8EPHaQyoXZgPe3rE4HSauOQ9e6z8DfvYQkm7DrraO27iVtpWI/rKdkhufjgwWjIt4Z4YMkfiJnGAfy+rBRkiz57b8DNaV8FmU5dRezs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782080432; c=relaxed/simple; bh=P9Z2zXKY4uziv/NsoEBs0CXkYe3pcV5x3EvO8+XNb+E=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=BQLyU+YRr/MTCh4K7wuLrUWKUm53KDQ91OgoKzYRxEu9dR+R2R0VVXhi2NpwxlZn/LuMQCmz9h/eQ8HhP3vFUECHHO2NuulBe+tix8oNdQAaZKvo+nYuYLF8mM/OdkDuqkgWWogo6ta3wwGbGQozFwwX/dxFKvUOimnQ0Eog73g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fz7Jki9W; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fz7Jki9W" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF4F01F00A3A; Sun, 21 Jun 2026 22:20:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1782080428; bh=iGhCX7nVBCzpVYU7WOdwE6u1flM0yS+pk70INf4ABPY=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=fz7Jki9Wn4ZAVH2R9XkCLkF3gckwdHmzKWQVNXaHSn5qyAPQZKkX311tXXKU+SGE+ JPq5yKUsAbGSfLgP6tuk3AOgIwDOcJ0YW26RE3Gen6bS1lsqoVV+F8yAk0oV7Lh7Df ACumfI67MmJveagpf2erbcBsuaJqw34jgMXdHi1S3WpZ/FnPzGOO9LEgvgbctFj7pq UgAQBXkYsxtoUf5BWpJ9SjPg5nnmILQZzsOyQeq7g+71YAOeoKIAPJyPN37dku/sg5 xH5OSWwlk7UDVhdaDBbAk6C6ToO8p8ngWkTltrxsX/dKfGocqioWTkNev8X/Rdoxar 5G/wBmA3/LRwA== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 568B93AAA6EA; Sun, 21 Jun 2026 22:20:21 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v5] net: airoha: Fix skb->priority underflow in airoha_dev_select_queue() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <178208042004.521994.1468591358072405119.git-patchwork-notify@kernel.org> Date: Sun, 21 Jun 2026 22:20:20 +0000 References: <178194366700.2485734.5368768965976693502@gmail.com> In-Reply-To: <178194366700.2485734.5368768965976693502@gmail.com> To: Wayen Yan Cc: netdev@vger.kernel.org, lorenzo@kernel.org, horms@kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@google.com, andrew+netdev@lunn.ch, angelogioacchino.delregno@collabora.com, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, joe@dama.to Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski : On Sat, 20 Jun 2026 16:17:44 +0800 you wrote: > In airoha_dev_select_queue(), the expression: > > queue = (skb->priority - 1) % AIROHA_NUM_QOS_QUEUES; > > implicitly converts to unsigned arithmetic: when skb->priority is 0 > (the default for unclassified traffic), (0u - 1u) wraps to UINT_MAX, > and UINT_MAX % 8 = 7, routing default best-effort packets to the > highest-priority QoS queue. This causes QoS inversion where the > majority of traffic on a PON gateway starves actual high-priority > flows (VoIP, gaming, etc.). > > [...] Here is the summary with links: - [net,v5] net: airoha: Fix skb->priority underflow in airoha_dev_select_queue() https://git.kernel.org/netdev/net/c/86e51aa24686 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html