🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8050

Re: [PATCH net] net-sysfs: reject a one-entry RPS flow table

#8050
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 22:40
25 lines
8567 bytes
Hello:

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

On Wed, 21 Oct 2026 23:55:22 +0800 you wrote:
> store_rps_dev_flow_table_cnt() accepts rps_flow_cnt == 1.  For count == 1
> the round-up loop leaves mask == 0, which is stored as log == 0 in the
> tag (tag_ptr |= ilog2(mask) + 1).  get_rps_cpu() then calls
> rfs_slot() -> hash_32(hash, rps_tag_to_log(tag_ptr)) with log == 0:
> 
>   include/linux/hash.h:68
> 	return __hash_32(val) >> (32 - bits);   /* bits == 0 -> shift by 32 */
> 
> [...]

Here is the summary with links:
  - [net] net-sysfs: reject a one-entry RPS flow table
    https://git.kernel.org/netdev/net/c/24927bdf0f62

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179314082346.370091.18360710136387266095.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-352643-linux-kernel-netdev=dewy.ru
References: <20261021155522.67521-1-phx0fer@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-352643-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net-sysfs: reject a one-entry RPS flow table
Date: Tue, 27 Oct 2026 22:40:23 +0000
Organization: Usenet Network
Message-ID: <179314082346.370091.18360710136387266095.git-patchwork-notify@kernel.org>
References: <20261021155522.67521-1-phx0fer@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1649685"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:drnaJoKgw5IitbOsbIzIQCozoFc= sha256:PjByQWkQbsW4ehpnv0gChy3uzscFNBzbx3Cc0He97E0=
	sha1:iPSCqEUL6ddnMiQouA5YoFwALhs= sha256:V+K1aDiFvfByVNI6PllVR0Grew8dH93gADF5YRyFWZw=
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 CF6A0125C2A; Wed, 28 Oct 2026 01:43:16 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 vgOkrCj6QLTF;
	Wed, 28 Oct 2026 01:43:13 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-352643-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 93146125C25; Wed, 28 Oct 2026 01:43:05 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 67CD96066FA; Tue, 27 Oct 2026 22:40:53 +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=1793140826;
	b=Zn+/Drez8efcBwBWDC8ig2tCVOZ2t8dumCvex57kPlxTuMfNW6Alohrx3RCguZnXhA9s
	 0tfpab+d+kN4K1wkGKqUIvdv7KKfeiZ+mSmrmW22COHWpezxjmw625o4sfzQQckiOqW1H
	 1n+afNtcfdmfeRPlV4UXVqnn3Vn4wfovQEBGTTxJXhBYuWOjqCvJInvatjStF6hOUHjST
	 dofly6R7ojPR2VvDvlmOGrw4Mj9IVxb3OOEJqTL+kKZNIPoSty/vc2sQbONpkAc6SwIx+
	 +A0pm3laBe9OKRYexOWFAoaYtDPPbnKrXJ5H+ZiSn7KxyJOzt6sfOqCQdMNw6N0ngHg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793140826;
	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=QIfX8wI4BaY3EOa8JEO41r1+x9SiDeIv5YiniQCAADQ=;
	b=5BThYQqIwGi1u3O3kW0T/GY5Pcw7HXBmpoR6iU8g4p0RkveBiYTSP12hwSjoALFnncTe
	 ai6/TwSvulkCgJQrmcgnXl+sPv2E9bXb/aKLccRKHdUY2uf/fYYTw3KHipF4SJXBZXcu8
	 DyXmturJTya/Wnf82PvG85salflCDpkaJ3LZ2NCb//9tRykEHZ7TDm9lOBTZwgjJyylAp
	 RTfDocQvBwIUwhK+Hbvl+6d+hhzb8R2EfMKEJ8Wg8jAcq51GQpjRWrl5th9eGwgvceXaP
	 3Y2u6H1QhGT1tevFHJ3nE2gj99uGmTSeNclQ0YuymTAiWYPuopOazpFRr4Y0q67Rzng==
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=Ff9X5lc1;
	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 98244606A32A;
	Tue, 27 Oct 2026 22:40:26 +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=Ff9X5lc1
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=1793140825;
	b=m01OdbqF34fJCQ/0NFPIGYLsGudKOgpZH/EUUreLRahT8NHrwC8VDwvMvoZloltp7dVR
	 DGPf4Vh7WEgrT3H0fgRnnTWipnzZboD/bvX7PSySY/HsRQxlTPaTwo/sYlWSthsvMREky
	 C/7N07wyZAL6YMPq4ftjxHp7UGJRIvwsdg/KZ/3Jqj8exHtwIdk+QgJuMap0fWdfOtIm/
	 uuuk179eZkLjhiICIEybVxEKitfvypQ6WUFjBYGWMKEQaXq8edmLx3Mstsco4Q53l2LeM
	 7LJf2lrhheMC+gule9qvBnocPESn02spwiKLfIs5M567R4V8xvLVlr3QV6rQUqMA/wQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793140825;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=QIfX8wI4BaY3EOa8JEO41r1+x9SiDeIv5YiniQCAADQ=;
	b=MSEjHLksn1iEXIXyRTDNLkTlzZBV1IlhalPfTxn4N0ZbRGBpB0F/yTuuK0TTYg/bff/F
	 x/oHooHht99R2mnGVpkO72RrCkryn00I05zcKV2QJZFtFEObcaP0Y34mKga6h1cSPDN9R
	 pBfaR+a6i7/haCWNVAPEK/edOJKeqdHJpsLr2HuYXKCtT1SiPW6uisxUpmBNA7aWEPFD2
	 87AlykkwuU79o/wKm7MVeUDxTJ76IMt2RgSfezocGigjwueby5kHYkMvLMN227c6N44rz
	 IbEOVEY5KcBsMoehW68ZWw04Z/dovjmuhqOXJdw15dRQaDcKxKaZdGXrP1xv/3oHXAA==
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=Ff9X5lc1;
	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 7BEF8606A323
	for <netdev@vger.kernel.org>; Tue, 27 Oct 2026 22:40:25 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 139E81F01825;
	Tue, 27 Oct 2026 22:40:25 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793140825;
	bh=QIfX8wI4BaY3EOa8JEO41r1+x9SiDeIv5YiniQCAADQ=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Ff9X5lc1sIcNRLzA2w4HWHYo9RX+YY8QJwVULfxSUK5J+2XH5XsM7nDem/fTIy037
	 LyrUvh8buByQYJcmnkUGiW9fAsgp20mZgMRnTqRn9FIJDfvjhkLcELjH+o0zzCMK/2
	 XqecQRb87E+WuzUGnPM844ScquIchABitTIRwsnmz2LW4OAoKn5qL8Nh7QRBy4qxDm
	 6ZkZSWRnxDQIT4HhK0Zs35lth84Kf6tUAAskHlS4VPA2lAQCzJQ9n4rqlPIc8svTXQ
	 5Zjn//2nxSFMeLP+aBAC+Tanotc6HpRMg6WN/dIeiDKfKnn9598enMjXY0UFyMiq+S
	 wYT/3acKt7U+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 0738D3AA940B;
	Tue, 27 Oct 2026 22:40:25 +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: <20261021155522.67521-1-phx0fer@gmail.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, netdev@vger.kernel.org