Re: [PATCH net] net/smc: check every link before skipping the RMB registration
From: patchwork-bot+netdevbpf
Date: Thu Nov 19 2026 - 18:30:39 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Fri, 13 Nov 2026 14:11:44 -0500 you wrote:
> From: Bryam Vargas <hexlabsecurity@xxxxxxxxx>
>
> 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