Article View: linux.kernel.netdev
Article #831Re: [PATCH net 0/2] mlxsw: Fix port range register leak
From: patchwork-bot+netdevbpf
Date: Thu, 08 Oct 2026 18:00
Date: Thu, 08 Oct 2026 18:00
29 lines
6600 bytes
6600 bytes
Hello:
This series was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 6 Oct 2026 16:21:27 +0200 you wrote:
> When the mlxsw driver parses a port range template rule, it acquires the
> actual port range registers. The parsing is only done to determine the
> element usage, so the registers can be deallocated right away, but this is
> never done, and the registers are leaked. Plug this leak and add a selftest
> that would have caught it.
>
> Petr Machata (2):
> mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()
> selftests: mlxsw: Test port range occupancy on template create
>
> [...]
Here is the summary with links:
- [net,1/2] mlxsw: spectrum_flower: Fix port range register leak in tmplt_create()
https://git.kernel.org/netdev/net/c/7ea07afb230f
- [net,2/2] selftests: mlxsw: Test port range occupancy on template create
https://git.kernel.org/netdev/net/c/71198b59df56
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179148240553.372666.3460910775211213373.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-343181-linux-kernel-netdev=dewy.ruReferences:
<cover.1791294384.git.petrm@nvidia.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-343181-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 0/2] mlxsw: Fix port range register leak Date: Thu, 08 Oct 2026 18:00:05 +0000 Organization: Usenet Network Message-ID: <179148240553.372666.3460910775211213373.git-patchwork-notify@kernel.org> References: <cover.1791294384.git.petrm@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="937053"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:W05i/siAhuUKPMjHvh25pcXX3eg= sha256:MEJpkwaLsFzMRzkPbfpolo1YcCs7AQrdO7fDAX6JnZA= sha1:yP3uMUD4PlecI8/UEDZek1m/1Vs= sha256:YqvLPLYJyGhLkBbAD+CmDuOvROzvaRCqQKjonJxTF0U= 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 8155D10F4AE; Thu, 8 Oct 2026 21:04:22 +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 A_FTE8hhlJoM; Thu, 8 Oct 2026 21:04: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-343181-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 9A75110F48C; Thu, 8 Oct 2026 21:04:15 +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 0C17B322C4; Thu, 8 Oct 2026 18:00:09 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DAEC3D567A; Thu, 8 Oct 2026 18:00: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="j3tL1Rfh" 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 7C00C38D3F2 for <netdev@vger.kernel.org>; Thu, 8 Oct 2026 18:00:07 +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=1791482408; cv=none; b=eJpXOfRWv74Lr7JOo/hIiRdCM4nCssH62ERTj/zxxzNh0yELT16AiRqPA+ECfEQpIq0jNniY+7+pz4sAuHp/qqSrNFLmWOL5pRAbgfoTKQmNs2ghmFWjfTSs34vMNMjsD8k90pAozahsIlrxfp8MO2NxKMsX4B05yfeqdcF0yLs= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791482408; c=relaxed/simple; bh=NIKlJ9JlNvPwpyQsILEy+dQHzgjHKcV9U1zyWhmbTbk=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=XhlDPgNWzCPZXrOnmeoO7DwvjqjwDAAfgSwR3p+ujIC+5OEZ8DyIWFkNKoNmOnpHgn26acveVgjGUfURLEHNp2VMQZEOBZHo2AJ/FnQ/LBdOkRCN6SYfkyjvmv5EnG3bbc0nT6aAu/5ao8i/EJT4CnLXHssOaY8r4suCDKMlCzg= 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=j3tL1Rfh; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20EA51F000FF; Thu, 8 Oct 2026 18:00:07 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791482407; bh=j3M/JcHaP+DIajYPUwR0IO5r3nM5YLh48UUKYsgxPog=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=j3tL1RfhF0DJaeExSAwYlU7IjyeLBYkX6EYCCiqFl6psCLWBC7XwpQakDnvChoODQ SaLJXOTkjkigCvbKp6P/yYq0ECGLxwhIJKXPTm+LdCcSJoCkzkNdiRyyaOeWFxMePb +NCx4MKuIfZrhFX8y0YkehCbyH/rqKKqo12Ub1bT/YZ20QwrO/yzJwiTQmlcNNFO7Z kr5Cfn6sRXu4nxULzhrLJSsSMh/TgIEjfosI/7AAaefEX2kmfAI5X//RgyJfNlrcj9 ybT5e82ke4m0MWtdiCY+G7zMfSfH00jiDkf6lqpOaydOcl5EM9fWKHA1ixGNMb6EKq Z77Be1ZZOOaNA== 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 F182F380CEC8; Thu, 8 Oct 2026 18:00: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: <cover.1791294384.git.petrm@nvidia.com> X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, idosch@nvidia.com, vulab@iscas.ac.cn, mlxsw@nvidia.com