Re: [PATCH net v2] net/smc: fix mismatch between CLC header and proposal

patchwork-bot+netdevbpf
2025-11-11T02:10:45Z

Hello:

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

On Fri, 7 Nov 2025 10:40:29 +0800 you wrote:
> The current CLC proposal message construction uses a mix of
> `ini->smc_type_v1/v2` and `pclc_base->hdr.typev1/v2` to decide whether
> to include optional extensions (IPv6 prefix extension for v1, and v2
> extension). This leads to a critical inconsistency: when
> `smc_clc_prfx_set()` fails - for example, in IPv6-only environments with
> only link-local addresses, or when the local IP address and the outgoing
> interface’s network address are not in the same subnet.
>
> [...]

Here is the summary with links:
- [net,v2] net/smc: fix mismatch between CLC header and proposal
https://git.kernel.org/netdev/net/c/ec33f2e5a2d0

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.