Article View: linux.kernel.netdev
Article #19459Re: [PATCH net] net/smc: check every link before skipping the RMB registration
From: patchwork-bot+netdevbpf
Date: Thu, 19 Nov 2026 23:30
Date: Thu, 19 Nov 2026 23:30
30 lines
9220 bytes
9220 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 13 Nov 2026 14:11:44 -0500 you wrote:
> From: Bryam Vargas <hexlabsecurity@proton.me>
>
> smcr_lgr_reg_rmbs() skips the MR registration (its fast path) when the
> RMB is registered on every active link, but the check reads is_reg_mr[]
> at the index of the connection's link for each link it walks. An RMB
> that sits unused in the pool when a link is added is not registered on
> that link. A later connection on the older link that reuses it takes
> the fast path, never registers it on the newer link, and its
> CONFIRM_RKEY still gives the peer an rkey for that link. After a
> failover to the newer link, the peer's RDMA writes into the RMB fail
> with a remote access error, that link goes down too and, with no other
> link left, the link group is terminated.
>
> [...]
Here is the summary with links:
- [net] net/smc: check every link before skipping the RMB registration
https://git.kernel.org/netdev/net-next/c/7e23d36038cb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179513100453.3921246.8361050512284832541.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-367418-linux-kernel-netdev=dewy.ruReferences:
<20261113-b4-disp-08835f86-v1-1-b2ee1b9b94e2@proton.me>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-367418-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net] net/smc: check every link before skipping the RMB registration Date: Thu, 19 Nov 2026 23:30:04 +0000 Organization: Usenet Network Message-ID: <179513100453.3921246.8361050512284832541.git-patchwork-notify@kernel.org> References: <20261113-b4-disp-08835f86-v1-1-b2ee1b9b94e2@proton.me> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3009875"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:eTaPwKXf9u45z7ak7mIuqrMlPUw= sha256:fUx5UHuutWDLRAm0wp+MuyPH5adR2GvNACuGW4WRxMA= sha1:HbmHpdo7Nt6zH58tKL+qMcnPAY0= sha256:+glK+vTw9yOyRsEVQZiMh9dgwcFYlgkBrqBrAV8JSoc= 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 A60DE1157F8; Fri, 20 Nov 2026 02:30:32 +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 DxkhzAPOce2x; Fri, 20 Nov 2026 02:30:24 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-367418-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 AA5B51157AA; Fri, 20 Nov 2026 02:30:12 +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 E3FB9623A0A; Thu, 19 Nov 2026 23:30:11 +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=1795131007; b=L4/cYmE5g+ruRTqRk/pmVE2iodTBEheYsy0qrFMOz/ENPy5065m8yqc4xWvXWopdpmrA NRmuNlZ4uIYBF7N5RlScPAEHIyMYieGHT5ging5/odBbt59gDmEGdyPJ6N3CE5qQ5fjvB LVWLDuc0XaVf7I+S8g+f5CI7pFigTnnzfoUACFSZ+kNhAYDVAyzBhxqhWNHEAPN0eKsMj +wPBnBzhJzkyE0duspLe2NmSsykR74IiDmLPnVQk2YyFzpO/0pxnwGon2c8vvs+dOSm0w D7P0ebTC7Ap7zqAitDOMwantK6lH91gOXVtrqCDhHoAZ7tVxJ9vinLiFU42vorCnv+Q== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795131007; 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=DWg9qHRxGrI8RIln0yvvTi/qV4EItOlaWMXukxuCsJA=; b=nSVHTsxddjkF/sQ9fDysJBzv/XjkvjqwWJSiaVg8MTg8Por8SDx62orMthQhiXH4csTT GPSqBKy6AYCk472oZSAxtKwgpNGgU1EiOo3On46kU4ZksRmewtaHxBcrE1XmTpJeulVbd lrgpNBcQDckQA15QQfhgYDwmSpuqp2Eo+o5JJd1y3MNye7FLjCwDGzQyggPGbh8Sdme37 /cX22iq+GJckyp2DETy/dN3Ejrh/GxsoC3iviRFM9FnY/TNaIHvmW95lnpWUGHkKXnUH9 /jMo0YA8ZISoSrZ8V91KU79YUYjpwgiez0Ur28Hut3lZ1/UX1FOKPUTzpsnJNwxKZSQ== 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=SZX6FXe5; 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 1ED4760A2609; Thu, 19 Nov 2026 23:30:07 +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=SZX6FXe5 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=1795131006; b=rMSjKMMwe6rWaOO1M7RQ4n8gz96cwUHUMgsZJmJpmqtXNSML9KtN04wmvjFrN7u+5bKz BHKLlXraSQ5cUNYRBPpOuvAiPHqmDrr3z1cVc2vXQ3w7qURqPEqrfdwi5DgtG0BD1bfXC WeSdS4NATb6VUsNnhggLRD+882O3yTAzC8dSdqGqOxBomLuiihObnY/cDQyCQ9XEbB2c4 q0Fjisg2gNyoLgo3PHPLYjN/qg7zxJmdnsKKSvIoR5ZPqSEJ61Ye5ZY25BqtEHpJfPWqr eicVLUqXOE80hLK8e6NZ/MwQzlVguBJmRM3uVGVXjAoIVXVYtE24QADh1jN2vUl9jQQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795131006; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=DWg9qHRxGrI8RIln0yvvTi/qV4EItOlaWMXukxuCsJA=; b=pcdd9barLzg4J69lQ4ECzFUsFzBBGoGr7huMXDXZZXOGAY8nYvf/9IC5I3ohpqu2kuwq XMA3cU6vRXhx5DHtRs58+QedVux4YvCJV++vISy7a/n3GzrroHGcIciYZqgPPkXF2mT9h 2gbH3NkbC6cF/cUD0o5Dsegu0/NHIrux07oSYO2UQkWhmkDVXIxCLuZ6I7ZxYH1JA7NPP 87kNQWWCjqlt9EvYjbar3I9CHzovABU2J/+79sjJNE1hgMXr4GCOugaAczKHI0Bd/c39N rcBc5dXrWFILjADJWhgVi2ctCMTulALzmaCTz+iC3G4GDStF8EQ+dVnAlfcQlMhTRww== 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=SZX6FXe5; 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 3C637606A32A; Thu, 19 Nov 2026 23:30:05 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id BF15B1F000C6; Thu, 19 Nov 2026 23:30:05 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795131005; bh=DWg9qHRxGrI8RIln0yvvTi/qV4EItOlaWMXukxuCsJA=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=SZX6FXe5d8jQufXqT/cesFjasKNuivTyeCROdgvHQj/nm9L1upeXwdBzwT2Ab23o4 5i4ilyPRgH8n1fx2mod8wJszTWJQbHycvkxSkDJLouHhHINlYm1dPUOVKxEAtSWMna Hz5p6qJthyoSQb/J4UAZh0A2x/jg8mNYSBDaaR50wobJjTY66LVP22geOeazp9V5Dr 8OBqW8oY9geT3LLhkPkoUQRQZyByjE/4jTTe6Zwdp58DPW6oLorWxjPFnhcPDJVnd1 n9L+fbkaxJJgz3YB72sjOmXZnZQDzP/YBGBbHchR5V1v3YTbUO7vj2GzPzcttcX8uY vpmTdTewHMitQ== 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 B44AF3808209; Thu, 19 Nov 2026 23:30:05 +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: <20261113-b4-disp-08835f86-v1-1-b2ee1b9b94e2@proton.me> X-Cc: edumazet@kernel.org, sidraya@linux.ibm.com, dust.li@linux.alibaba.com, alibuda@linux.alibaba.com, mjambigi@linux.ibm.com, pabeni@redhat.com, kuba@kernel.org, davem@davemloft.net, horms@kernel.org, linux-s390@vger.kernel.org, guwen@linux.alibaba.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, tonylu@linux.alibaba.com