🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26150

Re: [PATCH] net/mlx5: Free the table after storing failure in mlx5dr_domain_get_recalc_cs_ft_addr()

#26150
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 04:40
26 lines
8913 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:

On Thu, 26 Nov 2026 21:22:29 +0800 you wrote:
> If xa_store() fails, the entry recalc_cs_ft has not been stored in
> XArray. Therefore dr_domain_uninit_csum_recalc_fts() would not destroy
> this entry. Just call mlx5dr_fw_destroy_recalc_cs_ft if xa_store() fails.
> 
> Found it by a self-developed static analysis tool and compile-test passed.
> 
> Fixes: c0e90fc2ccaa ("net/mlx5: DR, Support csum recalculation flow table on SFs")
> Signed-off-by: Wanhui Fu <fuwh1120@163.com>
> 
> [...]

Here is the summary with links:
  - net/mlx5: Free the table after storing failure in mlx5dr_domain_get_recalc_cs_ft_addr()
    https://git.kernel.org/netdev/net-next/c/f9051caa1eae

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179627280924.2359732.7508204986263120904.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376291-linux-kernel-netdev=dewy.ru
References: <20261126132229.4028110-1-fuwh1120@163.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lon.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376291-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] net/mlx5: Free the table after storing failure in
 mlx5dr_domain_get_recalc_cs_ft_addr()
Date: Thu, 03 Dec 2026 04:40:09 +0000
Organization: Usenet Network
Message-ID: <179627280924.2359732.7508204986263120904.git-patchwork-notify@kernel.org>
References: <20261126132229.4028110-1-fuwh1120@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2143695"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:euaKek0kZTjp8qwUN5QowcuDat0= sha256:gmPHOKQB/n21RObNml2oJ1uZycVRyOojlUgvrkuF/dA=
	sha1:8cKLnG0vZdSw3idJ3RTth1Hu5GE= sha256:KKmM2ZgVwQU8GoDsFzz0gZHtm8fK+ZT8Yv9rx8Dc8Fg=
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 09BBF11781A; Thu,  3 Dec 2026 07:40:40 +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 k40oiNrCnpFy;
	Thu,  3 Dec 2026 07:40:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-376291-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 A086C117816; Thu,  3 Dec 2026 07:40:28 +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 A984F27A52; Thu,  3 Dec 2026 04:40:24 +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=1796272816;
	b=JsIje/xruj5Xv0cRPfixRw/F/k9m5GXzpWjw+8iifjfeK0zgkU/cYba+vx//xs8bT88u
	 XnQAW1O8TxM6y8ZuYXVtLWC8vnFRGdpIeB7JCTDCj/b6IFvttoRzQMYYTFxC69Nl6t7/H
	 PiMpwiyMc7p9QXszaziFzfJrEhFfymXqvQVhjKSxmlF49zbIjQTmbfkEVUT+IK6riSwG4
	 3Xe/uYjcLL0i07+XnyRDdDZShuJEs1OJXgckGjWKcqHEAkty78KNnY+47+q/QCDbOuES4
	 tnaGx1Rt0Wpb9UGEiDIpyxucgNVy7f/6+AQxaWcDbzRAC3Rigk379sbD4Nm1yYzXbXQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796272816;
	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=gfnc2vDfH8tVydGDwhkB7Id1h0A7syXmB0qrKhOz7fE=;
	b=xIsc/kmwyANpooYqJkX+vSakz2aYH/OT/toGaye/Ey5AdHD/kDQiUZX5rZiKsvpFCQWm
	 xEdokDqY/wZm0SdmninlckcieFdnD0k9C26ku7G98YEOPKZlquJpWnAQ3QjYM9VC+TsaD
	 tlqGzdOx/k2kWQA9b6p93+xaXW5ymxXJynUwq10tpSJLS0mQxq3WbebsPPjalT35fcpaN
	 Cxl9WO65nsTkcXG0SJsLdBkTb8jApwMseUmaKBz3pLFJ2Zs2j42DDcoKNvcqjC3E5ndON
	 kwmV8aZFvVOfbhK3+kGPUbBv8Qo5LX398WqWmNlw2dHlvPlNkZ0L9NCT03RuewFjWGw==
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=kz9UY+Ep;
	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 BFBF1606A6AB;
	Thu,  3 Dec 2026 04:40:16 +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=kz9UY+Ep
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=1796272811;
	b=bj3LmQfE6fvmG3rQXbDhLTRBAZMO6Phdueko9HWfKHmt210ztOVfua84KkZxP4x0IrF9
	 oLryzRUzyGegyGpDKpYEMGSt5utWy7ghVc+vucdF2W4bZsQY1pxgUdn/dGsDkqbv00X/q
	 Y+WyWSei/rI+W2A5eJe1nRoZioR4Zk5i/k5RZ8s37RTbAIb3yuLbLFo8gvVG8gxNf5HRN
	 mUJHWV94VX5Rh+hFifrIo1WNL5EznXqgjypcpQ1lXWA9O8dwFx6s+c6ffZM6CDUGLrHnl
	 Vgf0DUtYVOK0xyVWkdzT2DSQgggCvBTHEMfJ883hg1yvLiZno/BTp2rgxPzDRXCDKLQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796272811;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=gfnc2vDfH8tVydGDwhkB7Id1h0A7syXmB0qrKhOz7fE=;
	b=IjqngFofnKpxJ6FC3tXqoyRUt4y9JDSCoGrX/7lp/0nEX88mou1wwCKGFgq9S0Aiv20j
	 UIWxYIro2M+EzEFIu34Lhd+ttCDv63n2jE1BBODSTFeMj8DcrD4zmq7IeRBIPKsPDEN5S
	 NTS3sOza3MbvxnAv381lujPuRYMhyTMBEUYdNtsxaRaq7p4V/j5eOspzy/wS6h6rArxa5
	 gB/iLzeVtLB5SyDshwl1cqfYFVSGcjzO8G/SCI9ZC2Z/Ug+XOkiR/dpxAoIfUEyNUhnji
	 Mcfy8SYelISOeBYfZ9KX6whJ/FwCw1CPCg+ji5Rbkuk1JyDgRRwCHQ4SOdGRaFEg3tQ==
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=kz9UY+Ep;
	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 E0480606A684;
	Thu,  3 Dec 2026 04:40:10 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B8A571F00896;
	Thu,  3 Dec 2026 04:40:10 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796272810;
	bh=gfnc2vDfH8tVydGDwhkB7Id1h0A7syXmB0qrKhOz7fE=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=kz9UY+EpFwuAgixmFzMoLPMd2j5opKxgm+/Kst+C3yX5EBoAEpiRS7zGAhzKRxyPt
	 dLaBjVi2A+uf15HtMEkUePtbXTTf3bgBTlQKmXEboGJLm7Shwu91k7L4Cmhcm9ihZH
	 spYhl/cJHDbo3wDcGAx5r/hJSXt9ERTnhlvbKVr3IWdzJ+j1+rwei8FLbnUeN4gTdI
	 U53bO3tu1cjnlDbLePHZ5uB+hszSzLuiGgrFobYATOpcBSwDRbK5HOoc4mX/0mmVvC
	 laCGzOlcecuwRn0VUCovIo7wk7zb+nFdrFbrK7s/9wv9o0Zqn675Ns1I63gZHGGhb7
	 Tqu6S5v+HtubQ==
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 AE8053808236;
	Thu,  3 Dec 2026 04:40:10 +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: <20261126132229.4028110-1-fuwh1120@163.com>
X-Cc: saeedm@nvidia.com, leon@kernel.org, tariqt@nvidia.com, mbloch@nvidia.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, kliteyn@nvidia.com, muhammads@nvidia.com,
 netdev@vger.kernel.org, linux-rdma@vger.kernel.org