Re: [PATCH net-next v3] rtnetlink: cap IFLA_VFINFO_LIST at a documented number of VFs
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <178601402843.783742.8946807120634040311.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net-next.git (main) by Paolo Abeni <[email protected]>: On Sat, 1 Aug 2026 14:49:44 +0300 you wrote: > rtnl_fill_vf() emits one IFLA_VF_INFO per VF into the IFLA_VFINFO_LIST > nest and closes it with nla_nest_end(), which stores the accumulated > length into nla_len. That field is a u16, so a nest larger than 65535 > bytes is written truncated modulo 65536. The list dates back to commit > c02db8c6290b ("rtnetlink: make SR-IOV VF interface symmetric") in 2010 > and has never been able to describe an arbitrary number of VFs; nothing > regressed, the encoding simply cannot represent it. > > [...] Here is the summary with links: - [net-next,v3] rtnetlink: cap IFLA_VFINFO_LIST at a documented number of VFs https://git.kernel.org/netdev/net-next/c/51e15308c6ae You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html