Article View: linux.kernel.netdev
Article #15300Re: [PATCH net-next v3] net: preserve rps_default_mask on failed writes
From: patchwork-bot+netdevbpf
Date: Thu, 12 Nov 2026 17:00
Date: Thu, 12 Nov 2026 17:00
30 lines
9091 bytes
9091 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sun, 8 Nov 2026 13:19:12 +0000 you wrote:
> rps_default_mask_sysctl() passes the live per-netns mask to
> cpumask_parse(). bitmap_parse() stores chunks as it scans from right to
> left, so a later error can leave lower chunks changed.
> rps_cpumask_housekeeping() also intersects its input in place before
> returning -EINVAL when no housekeeping CPUs remain.
>
> Consequently, a failed write changes both the value read from the sysctl
> and the default copied to RX queues created later. On a four-CPU VM,
> after setting the mask to 1, writing zz,00000003 failed with EOVERFLOW
> but changed the mask to 3. Writing a mask containing only isolated CPUs
> failed with EINVAL but changed it to 0. No kernel modification or error
> injection was needed to reproduce either case.
>
> [...]
Here is the summary with links:
- [net-next,v3] net: preserve rps_default_mask on failed writes
https://git.kernel.org/netdev/net-next/c/b39a8c891523
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179450280852.175938.5856955473629004399.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362032-linux-kernel-netdev=dewy.ruReferences:
<a235de028cc4160692127c6bf44ac567185b5449.1794143938.git.x-professor@outlook.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-362032-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next v3] net: preserve rps_default_mask on failed writes Date: Thu, 12 Nov 2026 17:00:08 +0000 Organization: Usenet Network Message-ID: <179450280852.175938.5856955473629004399.git-patchwork-notify@kernel.org> References: <a235de028cc4160692127c6bf44ac567185b5449.1794143938.git.x-professor@outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1130579"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:YPH0zn3mfEQpZ/Oc2UB96l2sUrk= sha256:6ooxw9TGuWFQPGlIoKa2veKRrzCdkjPQtibaU1xXwOg= sha1:MZnSFlmQBV4HzaVChb2dhJayJnk= sha256:o0aQCvxyAgSkmtAqYc5H2kyfe/Uah98t/KWemixkCMg= 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 E066C1142F8; Thu, 12 Nov 2026 20:01:28 +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 mfJ1oPJ2cgcC; Thu, 12 Nov 2026 20:01:23 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-362032-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 69767114302; Thu, 12 Nov 2026 20:01:15 +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 409AE612885; Thu, 12 Nov 2026 17:00:14 +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=1794502811; b=Kxa3RzyCiWPj1S0sOr0Lh4noKpoh3DvAuzrX9ocK5s3xbI+u0GhuN7t3cLZ/Z7JG8Q/+ aZjBmIdBmbTv0VACHw7ENAkXuB/Zo0BdQbHNDE1ojWUmiGVmS8gjD32XELJQc9ereHzei Rf1eFjKUw2yp6mXbJRGunSaM8/hrnZatwqCmafVPoR+tjUpH6BlYBMvRm2lsG/8YSHOdK 2njeQfRc43AW7tuXA5MLA25i9FAjX5J/KeJDem/hK1Z57DF5dKh5FkvJx+vg3/n/Hv76Q BzlQKq+UVACCDcLGG9FzuSMAuIR+5R4MzMD6fzsuYXz1aqXXxOQ9cvlREntvK1SxMKw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794502811; 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=uPaBPas8QSZgZUblXK1sKxbYH6lLTfncfAH76rt7QiE=; b=D2/7UOHS35qVxtMFQizQcKeMRx2uTXovoCIT2ja/Ke9Y5c6Iu03efdzX4MsQjfnIYd+u 6KFeIll9UmBTdjx8doXxjCmr05nmvlu07UNGo9OkVEX0oxcqR/KyxzD7dF/8hdlzQidlJ 9RNxixu9rTjiZUo6N+pJUYs5PdvpGnaOafWC6gNE7fJLf5QbiU16rMgZEoX1VI+jdRIok 3LemTPxNlnlU5qm+AnZvtktG9A5ppy4pydb61tRJIrkI0Qb7owAZpdpKhRDOXaB48Mn5Q 9YWbrxAnJncw4I8MegyqQsbxpR4cwFsJ/wI01CF+UM7zrxB7hOCxyqwEEc1PGdHDjHw== 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=l7d6pTUU; 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 10767606A33F; Thu, 12 Nov 2026 17:00: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=l7d6pTUU 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=1794502810; b=RGOW6wONaTpt1R8us4RS4BtNjiAoygczh+PQdyqGacxV7ahlgQ9jdMaTfwe+9UsMfiUQ sX/PNaXSt6RPTz+J3H2LxKl/lKsv/wmvgzR4oI3HwCpxqt54Jn5CXbpJ5bT0K2TDElasK Hop3AZ+MBCAcdRAZTTaXhBY2ZZaLhcrikEBmNhAk8nYbITfp6cPPnbvxX/5j0kNQLFDXx MbM2KtFvgq9CvXwn8TAFtGUfkw4u2Xo5J/TcPMR/pREHV/2EzSRgoB6D60bK3M63eUzSt hz5Fo4FvzEtqNxMJ+1/OhDjGNlaZfaWF55alz0mvyg/RpgbvFfjNH0hrreBKhiL5y3g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794502810; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=uPaBPas8QSZgZUblXK1sKxbYH6lLTfncfAH76rt7QiE=; b=VHW4ZRcke8N1jjdLu01+eRAD4LTaXGrDe2pSlMz+m4Y+5QyTCq68PoD0V4ijC/0Xf6hM I9uN37vx82mVBYlDvYfsl1NwF0EwP8m4UaAlOZErnwJmyl/1q7U3f8TeAnKX/oPo1K5/n cgN4OiACd62SuKl3fNP+I524l/MVX+CbnYZVRanu04jJcNHFadYbyNrI86002cZI1Flh8 TEzGk38dBoA4bUOQ01aOCV411ZK3SPI5MkkTcSOpveBkvY07Vp+jmrsoCsCHabV6edwr9 hmPDWNoOxbTmWvRs1DlEW2pqSqk7tWiT38Xkga2hcjdB5wJSaPUM6eif/50w6LylGlA== 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=l7d6pTUU; 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 2E255606A32E; Thu, 12 Nov 2026 17:00:10 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 079751F000C4; Thu, 12 Nov 2026 17:00:10 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794502810; bh=uPaBPas8QSZgZUblXK1sKxbYH6lLTfncfAH76rt7QiE=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=l7d6pTUU/zEjF2V0VRdC7f8lWPawLzdIYhHFUuxpIsvPZ69xYw0DO3oz+TriQvLsG FluSdmyyzh6yywFEv7/9pJo1q3CA+IpHWzO0tYt7fEKNs0v/KfmRqkflM69m8woPEb MfyufqUbB5bEk5pE2gb0U25hwMl6/A2IiSgRZ6j0sYg890szd/dlUuQEdf1nD4PN2L fYW7x8e61uPjLP+EgceAangg4tX9+z1XyRavQeaXRiw6Zff8TXLh/2gwjE2DGW8Sx0 2iGvonKqlNYlkXbgBEHNX4fb89VJuGZBpPVeMa5KLrDm21g/roMb2pnpZMxSK02lKx qx2xy3YPuLAew== 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 F148E380AA75; Thu, 12 Nov 2026 17:00: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: <a235de028cc4160692127c6bf44ac567185b5449.1794143938.git.x-professor@outlook.com> X-Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, wang.zhan@smartx.com, kuniyu@google.com, linux-kernel@vger.kernel.org