Re: [Openvpn-devel] [PATCH ovpn net v2 1/2] ovpn: add missing rtnl_link_ops->get_size callback

Antonio Quartulli <[email protected]> Wed, 29 Jul 2026 16:11:06 +0200
Newsgroups net.sourceforge.lists.openvpn-devel
Message-ID <178533425550.3340055.9915636485928308820.b4-ty@b4>
From: Antonio Quartulli <[email protected]>


On Wed, 29 Jul 2026 15:41:30 +0200, Ralf Lici wrote:
> ovpn_fill_info emits IFLA_OVPN_MODE inside IFLA_INFO_DATA, but
> ovpn_link_ops does not provide a get_size callback. Consequently,
> rtnetlink's size estimate for ovpn link messages does not include the
> nested mode attribute.
> 
> Available skb tailroom may hide this mismatch. When the remaining space
> is insufficient, however, ovpn_fill_info returns -EMSGSIZE and message
> construction fails.
> 
> [...]

Applied, thanks!

[1/2] ovpn: add missing rtnl_link_ops->get_size callback
      commit: 6e9f539e4f01153651dd77609b5ccadd44b74df8
[2/2] selftests: ovpn: add rtnl link mode check
      commit: f4a57dae061c8542dc29de1a72168a0048d29283

Best regards,
-- 
Antonio Quartulli <[email protected]>


_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel