Article View: linux.kernel.netdev
Article #12309Re: [PATCH net v2] net/mlx5e: IPOIB, Fix QPN lookup race
From: patchwork-bot+netdevbpf
Date: Fri, 06 Nov 2026 20:40
Date: Fri, 06 Nov 2026 20:40
24 lines
8822 bytes
8822 bytes
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Sat, 31 Oct 2026 22:57:13 +0000 you wrote:
> The parent RX completion path can load a QPN hash entry before
> mlx5i_pkey_del_qpn() unlinks and frees it, then dereference freed memory.
>
> Use RCU hlist operations and defer freeing with kfree_rcu(). The existing
> RCU read-side section in mlx5e_napi_poll() covers the lookup. Keep ht_lock
> for writers and acquire it before looking up the entry to delete.
>
> [...]
Here is the summary with links:
- [net,v2] net/mlx5e: IPOIB, Fix QPN lookup race
https://git.kernel.org/netdev/net/c/29066b0fc046
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179399761792.859444.16113939657791512927.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-358163-linux-kernel-netdev=dewy.ruReferences:
<20261031225749.14214-1-prathameshdeshpande7@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-358163-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] net/mlx5e: IPOIB, Fix QPN lookup race Date: Fri, 06 Nov 2026 20:40:17 +0000 Organization: Usenet Network Message-ID: <179399761792.859444.16113939657791512927.git-patchwork-notify@kernel.org> References: <20261031225749.14214-1-prathameshdeshpande7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3971472"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:vsv3PDlvHxy4IIa3KqSowfC0j6o= sha256:f6WyQzYANokG4DhY2LWtsYNqda3Bhj0HR+xbmLesXjA= sha1:BqYj2CssBrmE9iRjyjr2TQzO+vo= sha256:HZ8xwdYQsf40dhZqwdPCWJlHArBbZbLwjDE+yXHlWuM= 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 EFDC9113320; Fri, 6 Nov 2026 23:44:06 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 3OgM0bF8sUCJ; Fri, 6 Nov 2026 23:44:03 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358163-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 535A911331B; Fri, 6 Nov 2026 23:43:55 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id E2FE837CD6; Fri, 6 Nov 2026 20:40:25 +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=1793997625; b=DLrchIBbfAjJYMLd4prI5KjxC6nf1iM+8m6v5QSsXrpSp7l4CpMrvaJOIx1WkIZ0o7pD OKfZekeMBeCoapyQ4yBcUEtxwmyz+QbiYPhCI3Gughxs7DU1h1qVAHwgVer0+T+nVY8Bw KG6rYYKZDwhSRFdxK14K05b1NPJ1bMReKIIxgGF8L8TblxccJ+QU1p1HMyiHJkUpCrOa6 QupJhNsCOqctC0dDClaIlN4Jvyp3VJT2HwlCfGCqTVOLeHkIuCt2qq54VMQsJ9CcPxaK6 AzaPaeLESJghN6HY65LUpVUrId2HRYbkoKc4SmaCNNhtJ9HN/c4XUeNsH+9c+M9x8oA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793997625; 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=9JGXQWOdZTpjpg7isLPEgUXEisp9QAVDWGiK0jmFxb8=; b=0fAT57l6f3C8r2/os6pLL0xuj85WEteH9Nf70bOEtToalfbiy+Vw6/EP+h+mDH45kPHt WhliDkyEKQZjZlqF03awOmKP1lBi4arC+GFSIvq5b8QvnmjDcRgPh2zhlawH+CjJO3oja LaptfHdOur7HyGHWPEMj3beTMRwBJVlN2fwWCTCtxaHsd+sRRQ+HaN7DNPGMaQtU095wu 56gmC1+WS+PUsBGQpaukgCn+Mko44EzqDas5KZrn0YI6JuUwCbgqQb1VWRhvBkYFXA2A3 SwJO1NO0GeNshfnisvVttW5LfEnSV4uYa2H2qXiz+1/qot3YmTBBNL+c9Eh71Z9726g== 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="HMsxMf/7"; 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 BAB07606A331; Fri, 6 Nov 2026 20:40:25 +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=HMsxMf/7 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=1793997619; b=yrln11jG+3NfdudLLeaeU9IzzJOMhOYiFjMzxt5+s6HCwhEIWD2bN2BSK5xknR07frOM Stpi5ioPc/dZ5OrYqe2R6kJs36GjKB+R3ijC0Ckevo0VZkFnrlIs6rD3O8BX8GcrSg7L3 3pWzQaHFSED+E130nsdw3NXK3DkjF0NcgK/tYtlXsztRgEJ/2BtsRCWmC4cRDBTSIg80H jq5boRPL4MckcHBs1VX6/zMLM/CcELwYFtZCMZVZ21Q3VobnsU9E/vxrmGbyxB7D53ToO hOfsksor941emokf1Nj1gtWK9FzeqKGW/7VrbyHtsuULv5VqvBq/Mr8vbe4VarXMphw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793997619; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=9JGXQWOdZTpjpg7isLPEgUXEisp9QAVDWGiK0jmFxb8=; b=EnRMWXR4hRLR6S5A6j0r81pIO6QIlhDD6xXRxGSALIiOqRnrSe3MiGD3p4abxJfdNhdY 8H0EuoBZFZwi59DMQLn9iH5adzxzW/51Mgtbt/foX5ALV4xpDM2Xvz8zH29tJjO4HBiiv Qfk6J/KAk/EX+cexJi9yfvzjDLu+KCZqbSs9o0FLeaITJsKRHeHELadiW0c8fi7wfQlMd W8fklIByGJZQe9viHzAEFIjaFdRXvErAGmuAg8thmjsiQWTfM2oXz2vkvl6pF9HfJ6WMx uglyoLsWRYwc0COwXzrZ+RJ3DampH7sPC2FOncaZc8z2DwizGQr6IIvZjYA+jFzstMQ== 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="HMsxMf/7"; 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 9CE7F606A332; Fri, 6 Nov 2026 20:40:19 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 452041F0089F; Fri, 6 Nov 2026 20:40:19 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1793997619; bh=9JGXQWOdZTpjpg7isLPEgUXEisp9QAVDWGiK0jmFxb8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=HMsxMf/76WqOIXbIKkpw4MKq1u6/NLXV9UG7hplvuaGPln0LOEtXG/RwqrjuaAWB2 YeNz6ihGPM5KIHmcb84htYfmM14Go0JgcVG2xGxsiMxTNPaqB55jyrPFfVGGxABGYK y7nYOMoLQEdIwFfCbxvrJLaUcrUlaAjmAvtWMJjO13l+LOh0a/SzNIavDqNWIHlJry basZXQXv0lhTdAjZzR5kWDHfLBHMhVKY+KbLxGjUNm5aBQcjKlXrF4cSglfFXYCCvp qt597okWuRwvV0jabii/1XCwb/XQ4aHvwYTffcO8/bsMRWWmSpIGiimr9AOw2RZej1 qW9Xj1ZFbKlig== 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 3BDFC3A5499A; Fri, 6 Nov 2026 20:40:19 +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: <20261031225749.14214-1-prathameshdeshpande7@gmail.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, dtatulea@nvidia.com, cjubran@nvidia.com, cratiu@nvidia.com, erezsh@mellanox.com, valex@mellanox.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org