Re: [PATCH net v3] macsec: initialize SecY before registering the netdevice

From: patchwork-bot+netdevbpf

Date: Thu Sep 24 2026 - 09:23:22 EST


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Mon, 21 Sep 2026 16:40:30 -0400 you wrote:
> From: Haseeb Malik <haseebulhaq55@xxxxxxxxx>
>
> Creating a MACsec device with MAC offload over an LRO-capable lower
> device triggers a warning in rtmsg_ifinfo_build_skb() when IPv4
> forwarding is enabled by default.
>
> register_netdevice() invokes inetdev_init(), which disables LRO and emits
> a NETDEV_FEAT_CHANGE notification. This reaches macsec_fill_info() before
> macsec_add_dev() initializes the SecY. key_len is still zero, so
> macsec_fill_info() returns -EMSGSIZE and trips the WARN_ON in
> rtmsg_ifinfo_build_skb(), even though the skb has enough space.
>
> [...]

Here is the summary with links:
- [net,v3] macsec: initialize SecY before registering the netdevice
https://git.kernel.org/netdev/net/c/c2de369c5c5b

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