Re: [PATCH net] net/smc: set the lkey of every SGE in smcr_tx_rdma_writes()

From: patchwork-bot+netdevbpf

Date: Wed Nov 18 2026 - 19:12:20 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sat, 14 Nov 2026 09:14:58 -0500 you wrote:
> From: Bryam Vargas <hexlabsecurity@xxxxxxxxx>
>
> smcr_tx_rdma_writes() sets the lkey of an SGE only for a virtually
> contiguous send buffer; for a physically contiguous one it leaves the
> lkey the work request slot already holds. With net.smc.smcr_buf_type=2
> a send buffer falls back to vzalloc() when alloc_pages() fails, so one
> link carries both kinds, and a slot last used by a virtually contiguous
> buffer posts the DMA address of a physically contiguous one under the
> earlier buffer's MR lkey. That write fails, the link goes down and,
> with no link to switch to, the link group is terminated with all of
> its connections.
>
> [...]

Here is the summary with links:
- [net] net/smc: set the lkey of every SGE in smcr_tx_rdma_writes()
https://git.kernel.org/netdev/net-next/c/752c59c85423

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html